Answer the question
In order to leave comments, you need to log in
How to delete the current song in iTunes from the keyboard?
This is the second time my attempt to find the answer in Google has failed. The only thing I have achieved is to make a service in the automator that receives, when the desired key combination is pressed, a song from iTunes and moves it to the trash. But the song goes on. And when you empty the trash, a dead track remains in iTunes. There are ways to clear these tracks, but one is Doug's Script (paid), and the others with playlists do not suit me.
Ideas?
Answer the question
In order to leave comments, you need to log in
tell application "iTunes"
copy (get location of current track) to mLocation
ignoring application responses
delete current track
end ignoring
end tell
tell application "Finder"
move mLocation to trash
end tell
Try also adding a rule to AppleScript in Automator:
tell application "iTunes"
set currentTrack to current track
reveal currentTrack
delete currentTrack
end tell
The more I communicate with iTunes, the more often it seems to me that most of the similar questions have an answer - no way)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question