Last active
December 23, 2015 10:49
-
-
Save jamband/6624391 to your computer and use it in GitHub Desktop.
iTunes のラジオで現在流れている曲の情報をワンクリックでテキストファイルに保存する AppleScript
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
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