I had a great macro, but new OS Apple now its forcing a final mouse click to delte the song, any ideas what I do? Before it just deleted, was nuked, but now this, and enter not ever dismiss it, have to mouse it..
That looks to be a pretty clear image for image detection to find in Keyboard Maestro. Screenshot the "Cancel" and "Delete Song" buttons to the clipboard (â§ââ4 for region capture to clipboard), then paste that into the image well of a "Click at Found Image" actionâspecify the location as some distance back from the right top/bottom corners to click within the Delete button's area.
I don't use a Cloud Music Library, so I can't write a test macro for you, but this should work.
-rob.
Another possible solution is just pressing CMD+DELETE from within the macro. This shortcut works across many macOS dialog boxes with a similar prompt. He may not even need to put a Pause before the keystroke.
While it's worth a try, this similar Music dialog
...doesn't respond to keyboard input.
Luckily these are detected as buttons by KM's "Press a Button" Action, so that'll be a good way forward.
I canât remember off the top of my head where the preference is, but you should enable the system setting for âtab navigates dialog boxesâ. If that doesnât work for that dialog, then itâs a bug and Apple needs to know.
If you mean "Keyboard navigation" (System Settings->Keyboard), it's already on.
It's a buggy dialog -- Return/Enter should "press" the selected button, Tab should switch between buttons, and those work for that dialog in Sequoia but not Tahoe.
It's almost like it's not true macOS code, and was written in Catalyst or something ⌠oh, wait.
</rant>
-rob.
You can use the keyboard to hit the âDelete Songâ button if you have enabled Keyboard Navigation in settings.
Once you have enabled this, when the dialog pops up, the Cancel button will have an outline. That indicates you can execute the cancel by hitting your spacebar or enter.
You can navigate to âDelete Songâ by tabbing over to it, then hitting spacebar or enter. These actions can all be automated via KM.
Nope, still doesn't work for me in Music on macOS 26.1 -- the same works fine in other apps' dialog. What version are you running?
KM's "Press a Button" Action is still a better option, IMO. You can wait for the button to be there as part of the Action rather than rolling your own pause, it's one Action rather than two, and it's self-documenting.
Sorry to hear that. I am also running Tahoe 26.1
Thanks guys, sorry for delayed response. I got zero email replies so assumed the post was ignored. Is there a way to get email replies?
That said I unnderstand not one word. KM is totally greek to me, like trying to understand Chinese Japanese text. Should I try to explain this again. Was in clear? Did someone have a solution? Iâll try again if needed.




