[texworks] Scripting Updates
st.loeffler at gmail.com
Thu Nov 25 08:25:33 CET 2010
I just wanted to tell you that we're currently working out the details
of reading/writing/permissions for scripting. It's not yet finished, but
it's coming along nicely.
In the meantime, in r687 the TW.app.system() and TW.app.launchFile()
were moved to TW.system() and TW.launchFile(), respectively.
Unfortunately, this will break scripts that use either of these
functions, but a simple search & replace should fix that. This move was
necessary to give the two functions access to information about the
script calling it, so that we will be able to implement fine-grained
(per-script) permissions in the future. I'm sorry for the inconvenience,
but IMO it's better to make this move now while everything is still in
flux rather than break the 0.4 API right after the release.
Expect more to come soonish.
PS: No new Windows/Ubuntu test builds yet. They will follow.
More information about the texworks