Lucid
2009-10-12, 15:41
Hi, I had a few bash lines in GeekTool that displayed the information of the current song playing in iTunes (using osascript), but I accidentally deleted them in some way. Although I'm a C++/Java programmer, I'm not all too familiar with AppleScript, and so I can't get the line of code working again. I swear it was something like the following, and then just inserting "name," "artist," or "album" in the blank, but I can't get it to work.
osascript -e 'tell application "iTunes" if player state is playing then _____ of current track'
If anybody could shed some light on the situation, it'd be much appreciated.
osascript -e 'tell application "iTunes" if player state is playing then _____ of current track'
If anybody could shed some light on the situation, it'd be much appreciated.