tell application “iTunes”
set tArtist to artist of current track
set tAlbum to album of current track
set tName to name of current track
end tell
set sendText to “♪” & tArtist & ” / ” & tName & ” (” & tAlbum & “) #nowplaying”
return sendText
これにAutomatorで”クリップボードにコピー”をひっつけて、Twitter投稿とかに使えるようにしております。
WindowsではRubyスクリプト組んでたんだけど、せっかくMacなので。
でもまだAppleスクリプトが何者なのかはまるっきりわかりません。
コメント (1)