Stefan,<br><br>Thanks a lot for the quick reply. I will try playing with the scripts and hooks to get a better understanding of them. At some point I still think that a basic step-by-step guide to scripts would be a big help to beginners such a I am.<br>
<br>Best regards,<br>Tyler<br><br><div class="gmail_quote">On Fri, May 21, 2010 at 9:37 AM, Stefan Löffler <span dir="ltr"><<a href="mailto:st.loeffler@gmail.com">st.loeffler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Tyler,<br>
<br>
Am 2010-05-21 15:01, schrieb Tyler Estler:<br>
> I am migrating from WinEdt to TexWorks, which I really like for its<br>
> simplicity.<br>
<br>
Welcome to TeXworks :).<br>
<br>
> I am looking for some kind of tutorial introduction to the use of<br>
> scripts such as the one described here. I have done a reasonable<br>
> amount of LaTeX writing, but I am a novice when it comes to scripts etc.<br>
><br>
> Could someone provide a simple step-by-step guide to the use of<br>
> scripts, hooks, etc?<br>
<br>
Scripting is a relatively new feature in TeXworks, so it's not very well<br>
documented yet. Using scripts is quite simple, though. For a brief<br>
introduction in installing scripts, see<br>
<a href="http://code.google.com/p/texworks/issues/detail?id=261&q=SCRIPTS#c1" target="_blank">http://code.google.com/p/texworks/issues/detail?id=261&q=SCRIPTS#c1</a>.<br>
Note that you can also put scripts in sub-directories now to keep them<br>
organized.<br>
Then, normal scripts are run simply by clicking on them in the scripts<br>
menu. Hooks, on the other hand, are run automatically by the application<br>
when certain events occur (e.g. typesetting finished) so you don't need<br>
to do anything to get them working.<br>
<br>
If you're more interested in writing your own scripts,<br>
<a href="http://code.google.com/p/texworks/wiki/ScriptingTeXworks" target="_blank">http://code.google.com/p/texworks/wiki/ScriptingTeXworks</a> may help to get<br>
you started. Note, however, that the syntax used in the examples there<br>
is a bit outdated. Simply replace "target" by "TW.target" and "app" by<br>
"TW.app".<br>
<br>
HTH<br>
<font color="#888888">Stefan<br>
</font></blockquote></div><br>