dougscripts.com

November 25 2025 - 6:10 pm

Select None Lives

Did I say there was no "Select None" in Music app's Edit menu? Something had to be done.

tell application "Music"

tell (get view of front browser window)

try

reveal track 1 of it

reveal track 1 of it

end try

end tell

end tell

Run this when tracks are selected in a playlist and muscle memory has you going for Shift-Command-A. It first selects (reveal) the first track of the playlist, which clears any other selection. Then, (because of a bug?) the reveal command run a second time de-selects the first track, leaving no tracks selected.

Site contents © 2001 - 2025 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.