A little help here

I was wondering in AppleScript, how I could get the name of the CD in the CD drive, and then eject it using the "Eject" command.

So far I have the following code: (the comment part with the << is not part of the actual code)

Tell Application "Finder"
Activate
Eject "" << CD name goes in between qoutes.
End tell

I've tested this and it works, but I have to type the correct CD name, which is case sensitive.

Thanks in Advance! :cool:
 
Back
Top