Post

Replies

Boosts

Views

Activity

Comment on AppleScript / Swift / System Events
Could you expand on this? I developed an app that can’t function without the temporary exception entitlement for System Events. This has prevented it from being approved for the App Store. (An earlier version was approved WITH the exception, but they are no longer granting it.) I have been working with Apple code-level support to see if there is any other way other than using AppleScript and System Events to access the information I need, but they state flatly that the only way to do it is the way I'm already doing it. There are no public APIs that can replace the functionality of AppleScript and System Events. In my case particular case, I need to track the position on screen and the precise dimensions of the Dock, which is a System Events process. My Swift app can pull this data using AppleScript handlers via the Obj-C/AppleScript bridge, but I see no way to avoid telling System Events in the handlers. If you know of perhaps unpublished public APIs that could be called directly, I’m all eyes!
Jun ’21