[OS X TeX] Applescript changes in TS
herbs at wideopenwest.com
Sat Dec 31 22:45:36 CET 2011
On Dec 31, 2011, at 3:20 PM, Michael Sharpe wrote:
> 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.)
That problem I had with the `on error' section of some code when changing to Lion from Snow Leopard happened when I ran in the Applescript Editor too! Comment out the code and it all works fine.
(herbs at wideopenwest dot com)
More information about the macostex-archives