[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 2chのread.cgiへ]
Update time : 05/09 16:02 / Filesize : 237 KB / Number-of Response : 990
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

【Mac】iTunesを使いこなそう! Part 57【専門】



987 名前:名称未設定 [2007/11/19(月) 15:47:09 ID:QukUTpeo0]
iPodから母艦へレートと再生回数を書き写すスクリプト、前に作ったのがあったよ。
まず母艦で「レートがーーーーー」のスマートプレイリストを作っておいて、
スクリプトが出すダイアログでそれを指定してください。iPod内の全曲について
そのスマートプレイリスト内を検索し、レートと再生回数を「逆同期」します。

tell application "iTunes" to try
activate
choose from list (get name of playlists) with prompt "Select the _All-Unrated-Songs_ playlist."
set mac_pl to playlist (result as Unicode text)
repeat with i in tracks of library playlist 1 of (first source whose kind is iPod)
get (tracks of mac_pl whose name = (name of i as Unicode text))
repeat with ii in the result
if album of ii = (album of i as Unicode text) then
set ii's played count to (played count of i as integer)
set ii's rating to (rating of i as integer)
-- this may cause an error...
--set ii's played date to (played date of i as date)
exit repeat
end if
end repeat
end repeat
display dialog "Done!" buttons {"OK"} default button 1 giving up after 30 with title "iTunes" with icon 1

on error err_msg number err_num
display alert "Error " & err_num message err_msg as warning
end try






[ 続きを読む ] / [ 携帯版 ]

全部読む 前100 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<237KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef