Naja gut also hier eine Lösung, zwar ohne iSync und eigentlich trivial, aber vll. hilfts mal jemanden:
Das sorgt dafür, dass alle Tracks auf das angegebene Volume gesynct werden:
set liste to 0
tell application "iTunes"
copy location of tracks of playlist "Einkäufe" to liste
end tell
repeat with i from 1 to number of items in liste
set this_item to item i of liste
try
tell application "Finder"
copy file this_item to folder "MUSIK:Einkäufe"
end tell
end try
end repeat
Das sorgt dafür, dass, wenn neue Lieder da sind, die Playlist aktualisiert wird, allerdings löscht er die vorher. ich stelle das mal zur diskussin
:
set itunes to 0
set Finder to 0
tell application "iTunes"
copy number of tracks of playlist "Alle Einkäufe" to itunes
end tell
tell application "Finder"
copy number of items of folder "MUSIK:Einkäufe" to Finder
end tell
if itunes is not Finder then
tell application "iTunes"
delete playlist "Alle Einkäufe"
set thePlaylist to (make new playlist)
set name of thePlaylist to "Alle Einkäufe"
add "MUSIK:Einkäufe" to playlist "Alle Einkäufe"
end tell
else
display dialog "Nichts zu tun!" buttons {"OK"} default button 1
end if