In Script this property reads and is writable. It does not quite do what some might expect.
TW.app.quitOnLastWindowClosed = false;
Works, and when the last window is closed Tw remains as a process with no Application interface.
Basically don't use - User would need to find the process and ill it if this were called as above, otherwise they would not be able to restart TeXworks until they rebooted.
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor