[OS X TeX] Mountain Lion, BBEdit, TexShop and Applescript
David Goldenberg
goldenberg at biology.utah.edu
Sun Dec 29 22:57:34 CET 2013
Michael,
Thanks for your reply, and your work on Applescript for TexShop. Unfortunately, a delay up to 100 didn't eliminate the error (thought it slow it down!), unless, like you, I turned off "configure external editor". I'd prefer not to have the TexShop editor window appear, as it just adds to the clutter and my confusion.
Thanks,
David
On Dec 29, 2013, at 2:34 PM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
> I found it worked if I added
>
> delay 1
>
> immediately after the line
>
> tell TSLib to opendoc(FILEPATH)
>
> You might need to increase the delay a bit with an older machine.
>
> My setup is not quite the same as yours---I'm using TeXShop 3.26 with Mavericks (10.9.1) with "configure for external editor" turned off. I tried the modified script from both the AppleScript Editor and as a TeXShop macro. In both cases, it worked whether
> or not the associated pdf was open in TeXShop.
>
> Michael
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list