Hey Brand New User here!
I'm a macOS developer who is trying to support Evernote into my macOS application - Kudos.
I want to send some simple AppleScript to Evernote from within my application.
I've written and tested the AppleScript with Script Editor. Working just fine (BTW Catalina; Xcode 11.4; Evernote 7.14 Basic)
My app is sold through the Mac App Store, therefore I must utilize the privacy controls within Catalina.
macOS provides this function:
OSStatus AEDeterminePermissionToAutomateTarget( const AEAddressDesc* target, AEEventClass theAEEventClass, AEEventID theAEEventID, Boolean askUserIfNeeded );
When I execute this function against Evernote I get 'errAEEventNotPermitted'.
Is this because I have 'Basic'?
Do I need an API Key just to run AppleScript from inside an application?
Anybody have a useful viewpoint?
Steve