Created
May 24, 2011 20:52
-
-
Save semanticart/989639 to your computer and use it in GitHub Desktop.
itunes ratings in tmux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this lets you do prefix F1-F5 to rate the current song in iTunes | |
bind F1 run-shell "osascript -e 'tell app \"iTunes\" to set the rating of current track to 20'" | |
bind F2 run-shell "osascript -e 'tell app \"iTunes\" to set the rating of current track to 40'" | |
bind F3 run-shell "osascript -e 'tell app \"iTunes\" to set the rating of current track to 60'" | |
bind F4 run-shell "osascript -e 'tell app \"iTunes\" to set the rating of current track to 80'" | |
bind F5 run-shell "osascript -e 'tell app \"iTunes\" to set the rating of current track to 100'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment