The question is, do you want a trigger to check/uncheck the selected
tracks or the currently playing track? In other words, is it that you
want a script that will allow you to select some tracks in the iTunes
window and uncheck them all with a single keystroke rather than
clicking a bunch of times, or is it that you want a script that will
allow you to say "Ew, I don't want to listen to this song again!" as
it is playing?

For the first scenario, use this script:

tell application "iTunes"
set sel to selection
repeat with i from 1 to count sel
set enabled of item i of sel to not (get enabled of item i of sel)
end repeat
end tell

For the second scenario, use this script:

tell application "iTunes" to set enabled of current track to not
(enabled of current track)

Save the first script as "Toggle Checkmark on iTunes Selection" in ~/
Library/Application Support/Quicksilver/Actions. (Remember, ~ stands
for your home folder.) Save the second as "Toggle Checkmark on Current
iTunes Track" in the same location.

On May 22, 5:44 pm, Linden Holt <[email protected]> wrote:
> I'm amazed I didn't know about this software before! Having the
> ability to customize key commands that can be used without leaving the
> curent program is great!
>
> Being pretty new to Quicksilver, I've mostly been using it to control
> iTunes (search artists, play/pause etc.) and was wondering, does
> anyone know of a script or method to assign a trigger to check/uncheck
> a song in iTunes?
>
> I manage my music by unchecking the songs I dislike (so they aren't
> automatically played), but keeping them in my library (probably due to
> a borderline obsession with the neatness of my music library), and, it
> would be incredibly slick if I could uncheck a song with a simple
> keystroke.
>
> Thanks!

Reply via email to