Closed theophanemayaud closed 2 years ago
Should probably look at the Photos.sdef file inside the Photos.app package, where all scripting targets are detailed.
See https://stackoverflow.com/questions/21636464/how-can-i-know-the-apple-event-access-groups-used-by-an-application !
And get permissions : https://stackoverflow.com/questions/21924932/how-to-run-an-applescript-from-a-sandboxed-application-on-a-mac-os-x and https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW25
Closed by ce6f579c30650c43f0c8b7d408280d769a1a8605
Should probably look at the Photos.sdef file inside the Photos.app package, where all scripting targets are detailed.
See https://stackoverflow.com/questions/21636464/how-can-i-know-the-apple-event-access-groups-used-by-an-application !
And get permissions : https://stackoverflow.com/questions/21924932/how-to-run-an-applescript-from-a-sandboxed-application-on-a-mac-os-x and https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW25