Unable to find definition for this Carbon/Apple Events Error

169 Views Asked by At

Can anyone tell me where I can find Carbon Error -1743? I have an AppleEvent I'm sending from one app to another that's worked up to this point but fails in Mojave.

1

There are 1 best solutions below

0
iluvcapra On

As @vandian points out, this error is errAEEventNotPermitted, however, the security system won't ask you for permission to allow sending events unless you have a NSAppleEventsUsageDescription key in your application's Info.plist.

So, the solution in my case was to add this key to Info.plist. This having been done, I got the permission prompt, and the event fired and was received by the other app.