Posts

Post marked as solved
10 Replies
Hello After verify the certificate and notarise the application i run still into the same error: Are there any ideas what the reason could be? i don't have any idea about this behavior
Post not yet marked as solved
2 Replies
Hello Quinn Thank you very much for your help. With your workaround i was able to notarise the app. Like you mentioned i made a ticket for this bug (FB10333958) But even this didn't solve my problem. I still run into the error 1743 (see it's on the thread https://developer.apple.com/forums/thread/109561?answerId=334857022#334857022.
Post marked as solved
10 Replies
Hi eskimo, thank you very much for your information. It helps to receive a more clear picture about all this topic, but at the end my problem is still here... So i can explain what i made: i created a Developper ID certificate. i exported the script as an application and signed it with the certificate i made the whole notarization process like describe in (https://stackoverflow.com/questions/69354021/how-do-i-go-about-code-signing-a-macos-application) and it worked without any error. But after that i receive still the same error. "Error 1743 (Not authorized to send Apple events...)" After that i found another developer (from ALS Page Director) and he took the script and signed it with his certificate. the resulting application works. when launching it requests the authorization to control the other application. after allowing this it works. This is now for me confusing. But this is not the end of the whole confusion: When i try to export the script by another machine (also 10.14.6!!!) then i'm not able to sign the application. i cannot select the installed certificate... And at last to mention when i installed the script (as a script) in the menu you wrote above (Script Editor > Preferences > General) it doesnt work and in the Preferences > Security & Privacy > Privacy > Automation > Script Menu i have only the following picture: This all is really confusing. i have the evidence that it is possible but but on my system I am stuck on all paths. If you have an idea, you can't imagine how happy i would be.
Post marked as solved
10 Replies
Hello all, i know this thread is 3 years old, but i run into the same problem, and was not able to fix this. I red the thread really carfully... and i investigated some days only for this issue.. now i go to ask and hope to receive a hint. To be more exact: i have got some AppleScripts which control another application (ALS Page Director). The applescripts work fine under macOS 10.13. The same scripts and the same Application (same Version) doesn't work together under macOS 10.14. All script commands which are related to the OS work, when they are not in the "block "tell application 'ALS..'. (open files extracting content and so on, but when i try to reach the target application i receive everytime the Error 1743 (Not authorized to send Apple events...) To reproduce the behavior now i reduced the script into: -- This section works set theDialogText to "Outside of tell ALS" display dialog theDialogText tell application "Page Director ALS" -- This section fails.... set theDialogText to "Called in ALS" display dialog theDialogText end tell During all the tests i recognized the following behavior: When i start the script in the Script Editor then it works. When i start the script in the Operating system environment (double click to the script or selecting from the menubar) then it doesn't run. I receive the mentioned error When i start the script in the Script Debugger (another Application) it doesn't work, i receive the mentioned error.