[texworks] Script for helping people start new QtScripts - Helps set up the header correctly
Paul A Norman
paul.a.norman at gmail.com
Tue Dec 21 02:40:25 CET 2010
Here is what I hope will become the stable version of this
It now forms the header for QtScript, Python and Lua scripts, and can
incorporate any new scripting engines that may be added later.
Would appreciate any knowledgeable TwScipt people, (esp. Lua and
Python) checking its output please.
On 21 December 2010 01:04, Paul A Norman <paul.a.norman at gmail.com> wrote:
> Line 57 was missing!
> writeFile('authorName.txt', scriptAuthor.useThis);
> Here is the new link:
> On 21 December 2010 00:57, Paul A Norman <paul.a.norman at gmail.com> wrote:
>> Here - http://code.google.com/p/texworks/issues/detail?id=261#c36
>> is a first look at a for TeXworks.
>> Helps set up the header correctly - I hope :) Can be modified for
>> other Script languages easily.
>> Put into a sub-directory under your scripts folder.
>> In Scripts menu "Reload Scripts List"
>> If Preferences / Scripts / Write is turned on, it will remember the
>> Author's Name for future use. If you don't want to do that just edit
>> my name out of authorName.txt in which ever folder you put the script
>> in from the zip.
>> Make a new document in Tw (click into the new document if necessary),
>> and use Alt+N Alt+S (if you have not already allocated it for
>> something else) or use Scripts Menu look for "Make Script".
>> Comments, feed back, appreciated please,
More information about the texworks