[texworks] Updating Scripting Api...

Paul A Norman paul.a.norman at gmail.com
Sat Jul 23 08:07:25 CEST 2011


Hi,

Just updating Scripting Api.

If any one has new information please let me know.

Paul

Notes/Questions :--


TW.app.doResourcesDialog();

Very useful.

Does this have a corresponding button or Menu Item or anything in the
TeXworks interface itself?

---------

TW.app.newFile();

If User set  write permissions are on, could this please be made to
return a document object to Script?

e,g,
 	     var     newTarget =    TW.app.newFile();
 	
 	          newTarget.insertText("hi");

--------

This can be set in Script, and when the last window is closed  Tw
remains as a process with no Application interface.

          TW.app.quitOnLastWindowClosed = false;

I am trying to work out what it is for?

-------


More information about the texworks mailing list