I'm using Mac OS X 10.7.5 (Lion) and iTunes 11.0.2 (26). I was searching for a global hotkey to skip a track back and forward with 5 second, but I couldn't find it. After that I saw that how we can create services with applescript and Automator so I tried to create mine.
Strange thing is, the below applescript is working from the command line and working from the Automator, but after some usage it's stop working from the Services menu!!! And I couldn't figure it out why. Only reboot helps (I haven't tried logout), and after that everything will be the same like before. (Working for some time, after that stops working.)
So thank for helping.
Eg. "Skip forward" Applescript in Automator: - no input
tell application "iTunes" if player state is stopped then return set player position to (get player position) + 5 end tell
And the terminal command for this:
osascript -e 'tell application "iTunes" to set player position to (get player position) + 5'