Scripting Changes (or lack thereof) in macOS Tahoe

Making this thread to share any oddities I find in the new betas. There aren’t any changes to the default apps’ scripting dictionaries (compared using the diff cli), and all default apps that were scriptable in macOS 15 remain scriptable.

General Changes:

  • You can no longer use “iTunes” in place of “Music” in tell blocks (but “System Preferences”, “iCal”, and “Address Book” still work). This breaks any script still referencing “iTunes”. Edit: This doesn’t seem to work in 15.5 either, so it might not be a new change, but it’s still inconsistent…

Script Editor Changes:

  • Script Editor version is now 2.11 (232), was 2.11 (231) before.
  • Now supports Dark Mode. Colors for syntax highlighting adjust automatically for visibility.
  • Received the same toolbar and menu updates as the rest of the OS.

Bugs:

  • Various UI glitches, e.g. dictionaries in Script Editor sometimes have two vertical scrollbars.
  • Script Editor become unresponsive often when running or saving scripts stored on external drives.
  • ASObjC scripts do not raise permission dialogs when using protected frameworks/services such as CoreLocation, so permission must be granted manually in System Settings (could be a more general bug; just something I noticed).

The Script Editor icon is one of those icons that got enclosed in a gray rounded square. The same ugliness occurs to the applet icons. I’ll submit it as a bug (as, I’m sure, many others will do).

image

image

On the other hand, the TextEdit icon has lost the pen, so it’s now clearly distinguishable from Script Editor. (For quite some time, TextEdit and Script Editor icons were nearly indistinguishable, especially at small sizes).

It seems the current track cannot be fetched through Applescript anymore in Music. This is further emphasized through the use of the MediaMate application which is unable to show a preview of the album art. This issue does not occur with Spotify. It seems to be specifically the Music application.

tell application "Music"
	return name of current track
end tell

With local mp3s playing in Music, current track works for me. I keep getting errors when logging in to my Apple ID in Music, so I can’t test downloaded tracks right now.