Wednesday, January 21, 2026

AppleEvent Recording Bug

Olof Hellman:

My AppleScriptable macOS app is recordable. Occasionally, I have a UI action performed by the user that I handle internally, and I send a corresponding AppleEvent with the SendOptions flag .dontExecute (was kAEDontExecute) so that AppleScript recording will see the action and record it.

With Sequoia 15.7.3 and Tahoe 26.1, I am seeing events sent with the .dontExecute flag delivered back to the application invoking the appropriate AppleEvent handler as if the .dontExecute flag was not specified.

I wonder how that happened.

Comments RSS · Twitter · Mastodon

Leave a Comment