2011-08-15

再生中の曲情報を取得するAppleスクリプト

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スクリプトが何者なのかはまるっきりわかりません。

Trackback URL:

Comments and Trackback (6)

  1. […] 再生中の曲情報を取得するAppleスクリプト | sound of rudeness RT@sanodg:「からおけ☆すなっくM01」へのお誘い9/10(土)17時?〜JR南武線…[WiiVC]8月は「高橋名人の大冒険島II」など3タイトル|N-Wii.n […]

  2. Exactly how to Make $6442 FAST, Rapid Cash, The Busy Budgeter: https://get-5-btc-per-day.blogspot.gr?c=58

  3. Ikpsvub

    [email protected]
    :

  4. I’m 23. I have $30000. How саn I best use it to make mоrе monеy: http://qwpq.newstechsk.com/fa1c3

  5. cdtnkfyobess

  6. casino

    sound of rudeness » 再生中の曲情報を取得するAppleスクリプト

Post a comment

使用できるXHTMLタグ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>