[OS X TeX] Applescript changes in TS

Michael Sharpe msharpe at ucsd.edu
Sat Dec 31 16:20:14 EST 2011


On Dec 31, 2011, at 1:00 AM, Claus Gerhardt wrote:

> Could you please check if a failing script would still work if it would be saved as subroutine or shell script (OSA script) outside TS and would only be called by a macro.

As far as I can tell, it is not a problem to use length and offset in a compiled external library brought in with "load script". It is also not a problem to use them with header --Applescript, which calls ScriptRunner. The problem seems to be solely with TeXShop's internal AppleScript interpreter, called when specifying --applescript direct. (This is with TeXShop 3.06, Lion.)

Michael


More information about the MacOSX-TeX mailing list