[texworks] Scripting Updates

Paul A Norman paul.a.norman at gmail.com
Thu Nov 25 11:15:49 CET 2010

Dear Stefan, Jonathan, Karl,

Thanks for that, great stuff!

 Envisaged I'd need to overhaul any useful scripts I'd put up once you
guys have finished tinkering - been holding off till things stabilise.

 I'll change the TwScript api skeleton tree accordingly - please leave
them where they are in the OpenOffice document I sent you, I'll fix
them when you're able to process it back to me.

 If TwScript file access stabilises in time for 0.4, I could possibly
ready the Alt+F1 Alt+2 Latex help to go with 0.4 if you want?
 and possibly the colour dialogue - do you have a sense of your
time-scale for ver 0.4?


On 25 November 2010 20:25, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
> 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.
> -Stefan
> PS: No new Windows/Ubuntu test builds yet. They will follow.

More information about the texworks mailing list