{"id":51392,"date":"2026-03-27T17:23:55","date_gmt":"2026-03-27T21:23:55","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=51392"},"modified":"2026-03-27T17:23:55","modified_gmt":"2026-03-27T21:23:55","slug":"macos-26-4s-script-editor-wont-open-some-older-applescripts","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2026\/03\/27\/macos-26-4s-script-editor-wont-open-some-older-applescripts\/","title":{"rendered":"macOS 26.4&rsquo;s Script Editor Won&rsquo;t Open Some Older AppleScripts"},"content":{"rendered":"<p><a href=\"https:\/\/tidbits.com\/2026\/03\/27\/macos-26-4s-script-editor-wont-open-some-older-applescripts\/\">Adam Engst<\/a>:<\/p>\n<blockquote cite=\"https:\/\/tidbits.com\/2026\/03\/27\/macos-26-4s-script-editor-wont-open-some-older-applescripts\/\">\n<p><a href=\"https:\/\/talk.tidbits.com\/t\/os-26-4-adds-ai-generated-playlist-playground-separates-family-sharing-purchases\/33149\/4?u=ace\">Allen Gainsford first reported the issue<\/a>, noting that many of his BBEdit AppleScripts no longer worked after upgrading to macOS 26.4. Attempting to run them produced <a href=\"https:\/\/developer.apple.com\/documentation\/coreservices\/1559982-anonymous\/errosadataformatobsolete?changes=latest_minor,latest_minor\">macOS error code -1758<\/a> (<code>errOSADataFormatObsolete<\/code>)[&#8230;]<\/p>\n<p>Further investigation by <a href=\"https:\/\/talk.tidbits.com\/t\/os-26-4-adds-ai-generated-playlist-playground-separates-family-sharing-purchases\/33149\/21?u=ace\">Dafuki revealed a nuanced situation<\/a>. In his testing, many AppleScripts&mdash;even some dating back to 2006&mdash;continued to run without issues when triggered from apps like BBEdit and Keyboard Maestro. However, others wouldn&rsquo;t open, and after failing to open one script, Script Editor would then refuse to open any subsequent scripts until it was quit and relaunched.<\/p>\n<p>He found that the issue appears to involve older compiled scripts that rely on legacy storage formats&mdash;hence the &ldquo;data format is obsolete&rdquo; errors. Allen Gainsford even found that one affected script had a 0-byte data fork and a 26 KB resource fork, indicating that the actual script was stored in the resource fork&mdash;a legacy structure macOS supports only for backward compatibility.<\/p>\n<p>Although Script Editor&rsquo;s 2.11 version number didn&rsquo;t change from macOS 26.3.1 to macOS 26.4, Apple did increment its build number from 233 to 234, indicating that it received some changes.<\/p>\n<\/blockquote>\n\n<p>A workaround is to use the retired Script Debugger. I wonder whether <code>osacompile<\/code> could also update the script&rsquo;s format.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2026\/03\/25\/macos-26-4\/\">macOS 26.4<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/09\/17\/tahoe-applescript-timeouts\/\">Tahoe AppleScript Timeouts<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/01\/01\/retiring-script-debugger\/\">Retiring Script Debugger<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Adam Engst: Allen Gainsford first reported the issue, noting that many of his BBEdit AppleScripts no longer worked after upgrading to macOS 26.4. Attempting to run them produced macOS error code -1758 (errOSADataFormatObsolete)[&#8230;] Further investigation by Dafuki revealed a nuanced situation. In his testing, many AppleScripts&mdash;even some dating back to 2006&mdash;continued to run without issues [&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-03-27T21:23:59Z","apple_news_api_id":"1fbba2c8-077a-4f71-aa13-cb908d308261","apple_news_api_modified_at":"2026-03-27T21:23:59Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AH7uiyAd6T3GqE8uQjTCCYQ","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":[2],"tags":[159,131,30,2742],"class_list":["post-51392","post","type-post","status-publish","format-standard","hentry","category-technology","tag-applescript","tag-bug","tag-mac","tag-macos-tahoe-26"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/51392","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=51392"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/51392\/revisions"}],"predecessor-version":[{"id":51393,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/51392\/revisions\/51393"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=51392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=51392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=51392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}