Can anyone help me write a script that will delete a currently selected track or tracks in Itunes, move to the trash, and empty the trash with no extra dialog boxes popping up?
Thanks
Stefan Garr
Model: dual g5 2.0
AppleScript: latest
Browser: Safari 412
Operating System: Mac OS X (10.4)
tell application "iTunes"
set itemsToDeleteFromDisk to location of selection
delete selection --> remove from iTunes
end tell
tell application "Finder"
delete itemsToDeleteFromDisk
empty
end tell