Most of these scripts usage is pretty self explanatory. For use with GeekTool.
I created an Automator System Service, bound to a global keyboard hotkey, which plays/pauses not only iTunes but also Instacast and VLC. Be aware that you have to create an Automator Workflow with a single “Run Shell Script” Block, which in turn opens the Script itself with osascript.
It you create an AppleScript Block in Automator, the Script will not work as expected (if one of the Apps isn’t running it will open).
This Shell script is run by SongName.scpt whenever the current playing song changes. It will update my Music Log.