Skip to content

Instantly share code, notes, and snippets.

@jamband
Last active December 23, 2015 10:49
Show Gist options
  • Save jamband/6624391 to your computer and use it in GitHub Desktop.
Save jamband/6624391 to your computer and use it in GitHub Desktop.
iTunes のラジオで現在流れている曲の情報をワンクリックでテキストファイルに保存する AppleScript
if application "iTunes" is running then
tell application "iTunes"
set songInfo to current stream title
-- 保存場所は任意
set savePath to "/Users/jamband/Dropbox/document/etc/music.txt"
do shell script "echo \"" & songInfo & "\" >>" & savePath
end tell
end if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment