{"id":50760,"date":"2026-01-21T18:23:50","date_gmt":"2026-01-21T23:23:50","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=50760"},"modified":"2026-01-21T18:23:50","modified_gmt":"2026-01-21T23:23:50","slug":"appleevent-recording-bug","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2026\/01\/21\/appleevent-recording-bug\/","title":{"rendered":"AppleEvent Recording Bug"},"content":{"rendered":"<p><a href=\"https:\/\/olof.micro.blog\/2026\/01\/20\/appleevent-manager-does-not-respect.html\">Olof Hellman<\/a>:<\/p>\n<blockquote cite=\"https:\/\/olof.micro.blog\/2026\/01\/20\/appleevent-manager-does-not-respect.html\">\n<p>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 <code>AppleEvent<\/code> with the <code>SendOptions<\/code> flag <code>.dontExecute<\/code> (was <code>kAEDontExecute<\/code>) so that AppleScript recording will see the action and record it.<\/p>\n<p>With Sequoia 15.7.3 and Tahoe 26.1, I am seeing events sent with the <code>.dontExecute<\/code> flag delivered back to the application invoking the appropriate <code>AppleEvent<\/code> handler <em>as if<\/em> the <code>.dontExecute<\/code> flag was not specified.<\/p>\n<\/blockquote>\n<p>I wonder how that happened.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2026-01-21T23:23:53Z","apple_news_api_id":"20baee96-8d1d-4b2a-a361-81dd966f3f4d","apple_news_api_modified_at":"2026-01-21T23:23:54Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AILrulo0dSyqjYYHdlm8_TQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[159,131,30,2598,2742,71],"class_list":["post-50760","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-applescript","tag-bug","tag-mac","tag-macos-15-sequoia","tag-macos-tahoe-26","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=50760"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50760\/revisions"}],"predecessor-version":[{"id":50761,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50760\/revisions\/50761"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=50760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=50760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=50760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}