[OS X TeX] TexShop macro problems on Mojave
herbs at wideopenwest.com
Wed Nov 21 19:19:06 CET 2018
> On Nov 21, 2018, at 9:30 AM, Richard Koch <koch at uoregon.edu> wrote:
> Yesterday I was involved in other matters and just skimmed this thread.
> Maybe I can help and maybe not (to paraphrase the President). TeXShop has two ways to run Apple scripts. It can run them directly from TeXShop and it can run them from a second (internal) app called ScriptRunner.
> To modernize applescript for Mojave, an extra item needs to be added to the program's Info.plist. This item is a string which will be placed in the dialog asking for permission to do security-related applescript tasks.
> This item has been in TeXShop's Info.plist since version 4.08. However, it is NOT in Script Runner's Info.plist. I just fixed this in the sources, but the fix is not in 4.17. So on Mojave, an Applescript which uses ScriptRunner might run into trouble.
> Dick Koch
I believe you can determine if a script needs ScriptRunner or not by looking at the first line of the script. If it says
it needs ScriptRunner and if it says
-- applescript direct
it shouldn't require ScriptRunner. I think I've gotten that right.
(herbs at wideopenwest dot com)
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
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