PDA

View Full Version : How to launch an mp3?


j.ashton
09-11-2003, 12:18 AM
ok here is my script:

tell application "iTunes"
launch
open ("/Users/jayashton/Downloads/edited for content.mp3")
end tell

it bombs out with:

iTunes got an error: Bad name for file. some object

Anyone know fix to this??

Thanks in advance!

eustacescrubb
09-11-2003, 10:35 AM
Your file location needs to be absolute, I think:

'Volumes/HD/Users/jayashton/Downloads/edited for content.mp3'

Where HD is your hard drive's name.

Doug Adams
09-11-2003, 09:11 PM
tell application "iTunes"
open "Main:Music:Fatboy Slim:Better Living Through Chemistry:01 Song For Lindy.mp3"
end tell

Have a look here: http://www.malcolmadams.com/itunes/itinfo/info02.shtml