Skip to content

Instantly share code, notes, and snippets.

@haoyayoi
Created July 5, 2010 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haoyayoi/464486 to your computer and use it in GitHub Desktop.
Save haoyayoi/464486 to your computer and use it in GitHub Desktop.
set logininfo to "userid:passwd"
set messages to "を試聴中♪"
tell application "iTunes"
set currentTrack to current track
set currentTitle to name of currentTrack
set status to currentTitle & messages
end tell
set wassr_status to quoted form of ("status=" & status)
do shell script "curl --user " & logininfo & " --data-binary " & wassr_status & " http://api.wassr.jp/statuses/update.json?source=WassrTunes"
@haoyayoi
Copy link
Author

haoyayoi commented Jul 5, 2010

put this gist follow folder
mkdir /Users/USERNAME/Library/iTunes/scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment