[OS X TeX] TexShop macro problems on Mojave

Herbert Schulz herbs at wideopenwest.com
Tue Nov 20 12:02:11 EST 2018


> On Nov 20, 2018, at 10:55 AM, M. Tamer Özsu <ozsut at mac.com> wrote:
> 
> Well, thanks Herb, but complaining to apple will not solve my short-term problems. I will try 
> 
> tccutil reset AppleEvents
> 
> to see if it will reset things, but I somehow doubt it. My problem seems to be rooted in the fact that I was never asked for permission to allow access — reading quickly on the web, it appears others have had this problem. Perhaps when you upgrade to Mojave and you already have TeXShop installed, this is not a problem (my laptop works fine) but when it is a clean install something is fishy.
> 
> ==Tamer
> 
>> On Nov 20, 2018, at 11:42 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>> 
>>> On Nov 20, 2018, at 10:37 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>> 
>>>> On Nov 20, 2018, at 10:24 AM, Gray, Gary L <euler at psu.edu> wrote:
>>>> 
>>>>> On Nov 20, 2018, at 11:02 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>>> 
>>>>> Take a look at the Automation item under the Privacy Tab of System Preferences->Security & Privacy. TeXShop.app should appear there with one or more checked items under it (e.g., System Events.app and/or Finder). Does TeXShop.app appear there? If so, are there items under it that have check boxes? If so, are they checked?
>>>> 
>>>> Herb,
>>>> 
>>>> TeXShop does not appear there on my machine, but I do see a Script Menu entry and under it, System Events.app is checked.
>>>> 
>>>> Gary
>>> 
>>> Howdy,
>>> 
>>> Script Menu? Each application that allows scripting should ask the first time a script using Finder or System Events to allow it's use. I've got quite a few applications with check boxes below them, on the list on my system.
>>> 
>>> First, I believe it is buggy; hence not getting asked about it. Second, at least at this time, there doesn't seem to be a way to reset it except to completely delete the database and have to reconstruct it one app at a time.
>>> 
>>> Good Luck,
>>> 
>>> Herb Schulz
>>> (herbs at wideopenwest dot com)
>> 
>> Howdy,
>> 
>> Let me add that you should read <https://bitsplitting.org/2018/07/11/reauthorizing-automation-in-mojave/> for more about removing the database and starting over.
>> 
>> Hopefully that will change over time.
>> 
>> Complain to Apple!
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>> 

Howdy,

When you first run one of those macros that requires access to Apple Events or Finder, etc., you are supposed to be asked if that's ok. ALWAYS say it's ok since you will NOT be asked again! The buggy part is that you aren't always asked.

After clearing the database you should again be asked when you first attempt to run the macro.

PS: are the macros you are trying to run set as `Applescript direct'?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)




More information about the MacOSX-TeX mailing list