I was trying to run steal kerning from InDesign script, but I receive this message on Macro panel. I decided to add permissions to Glyphs from security and privacy panel on Mojave, but I received the same output. I am using 2015 Indesign.
Thank you for your wonderful work and support
Error output:
Accessing: Adobe InDesign CC 2015
AppleScript Error:
{
NSAppleScriptErrorAppName = âAdobe InDesign CC 2015â;
NSAppleScriptErrorBriefMessage = âNot authorized to send Apple events to Adobe InDesign CC 2015.â;
NSAppleScriptErrorMessage = âNot authorized to send Apple events to Adobe InDesign CC 2015.â;
NSAppleScriptErrorNumber = â-1743â;
NSAppleScriptErrorRange = âNSRange: {55, 16}â;
}
Tried to run:
001
002 tell application âAdobe InDesign CC 2015â
003 tell front document
004 name
005 end tell
006 end tell
Traceback (most recent call last):
File ââ, line 112, in
AttributeError: âboolâ object has no attribute âstripâ
It works for me, but I also have the respective permissions set in System Preferences > Security & Privacy > Privacy > Automation > Glyphs.app. I never set them consciously though. I suppose at one point I must have confirmed a dialog.
Thats interesting, there is no option to add a specific application to Automation tab. I will try to install Xcode. There might be an option to add it via Xcode. The weird thing is, the system doesnât show a notification like âdo you allow this application to control the other applicationâ when I call the code. I will update you when I find a solution.
I used this terminal code but it added glyphs as a sub category under Terminal. I will install High Sierra until I find a solution. I will update you later
osascript -e âtell app âGlyphsâ to display dialog âwoop woopââ
Iâve been looking for a dialog window but unfortunately I have nothing. I think I did all the steps. Indesign with one page and one text box sets in Optical. Then I run the script in Glyphs and I have this output :
Accessing: Adobe InDesign CC 2019
AppleScript Error:
{
NSAppleScriptErrorAppName = âAdobe InDesign CC 2019â;
NSAppleScriptErrorBriefMessage = âNon autoris\U00e9 \U00e0 envoyer des \U00e9v\U00e9nements Apple \U00e0 Adobe InDesign CC 2019.â;
NSAppleScriptErrorMessage = âNon autoris\U00e9 \U00e0 envoyer des \U00e9v\U00e9nements Apple \U00e0 Adobe InDesign CC 2019.â;
NSAppleScriptErrorNumber = â-1743â;
NSAppleScriptErrorRange = âNSRange: {55, 16}â;
}
Tried to run:
001
002 tell application âAdobe InDesign CC 2019â
003 tell front document
004 name
005 end tell
006 end tell
Traceback (most recent call last):
File ââ, line 112, in
AttributeError: âboolâ object has no attribute âstripâ
I donât think so, I unlocked the settings in the preferences. Hereâs is what I have when I try to use the script. Are running the script through another app or directly on Glyphs ?
Current script works well here with Glyphs 2.6.1 under OS 10.13.2. But have no Automation tab in Privacy section in System prefs you all are talking about