Created
July 5, 2010 15:54
-
-
Save haoyayoi/464486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put this gist follow folder
mkdir /Users/USERNAME/Library/iTunes/scripts