I'm just starting to play around with Geektool and applescripting to make my mac desktop fun and I've run into a question I can't seem to find an answer to. How do you get the current song playtime from an osascript command? I've found great resources on how to do just about anything else with iTunes and osascript on the command line but no one seems to care at all about showing the current playtime. Thanks! I'm assuming it will be something like:
osascript -e 'tell application "iTunes" to time of current track'
I already tried that though and it tells me how long the song is. I want to know how long it has been playing.