[OS X TeX] applescripts for TeXShop and iTeXMac?

Will Robertson will at guerilla.net.au
Mon Aug 30 21:06:52 EDT 2004


On 31 Aug 2004, at 6:52 AM, Matthew Hills wrote:

> To close out my own thread, I found that the "-- applescript direct"
> tag in TeXShop 1.35 yields the desired solution. I've appended a toy
> script to demonstrate it.  I found that I needed to use a raw event
> code for inserting text in iTeXMac (so that it would compile in both
> without error and without opening both apps).

This looks great!
Is the raw event code required for every iTeXMac-specific command?
How did you work out what the raw command was?

Anyway, I'll be re-writing my scripts to take advantage of this.

> A few other notes for other scripters:  there is a size limit to the
> amount of text that can be passed in to the "choose item" dialog.  It
> appears to be about 65k characters.

Yeah, that's a bit annoying. Still, there's usually enough space for 
most stuff you want...

Will

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list