Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Close CD/DVD tray via the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Close CD/DVD tray via the command line
Authored by: gmackenz on Nov 03, '03 10:42:31PM

drutil only works with burners...So tip no good for ejecting from internal CD-ROM my audio CD from the command line.



[ Reply to This | # ]
Close CD/DVD tray via the command line
Authored by: bonatoc on Mar 06, '04 04:24:47PM
...mmh... not true, it works with my internal CD drive on a Dual G4 1,25. Just wrote a quick Applescript (and made it an app) to make sure my tray is closed. In case some wonder what is this useful for, some professional audio studios have all their machines in a separate rooms. Sometimes you go and manipulate some CDs, come back to the desk, work a little, and then forget if the tray is open or closed. As the icon displayed on the screen is the same, there is no way ti know if you're opening or closing the tray... Just copy-paste in AppleScript, and then Save as an App.

do shell script ("drutil tray close")
do shell script ("drutil tray close")

display dialog "Your CD tray is now closed." with icon 1


[ Reply to This | # ]