[texworks] Scripting: .newFile return a scriptable object?

Paul A Norman paul.a.norman at gmail.com
Mon Jun 7 13:00:40 CEST 2010


Hi,

Does TW.app.newFile() or TW.target.newFile() return a scriptable object?

I can not reference / use it in Script, but the window is opened.


myFile = TW.app.newFile();

I get [undefined] is not an object if I try to use myFile for anything.

Paul


More information about the texworks mailing list