Any key for ejecting external firewire burner?

John Labovitz johnl at johnlabovitz.com
Sun Nov 2 13:51:10 PST 2003


On Nov 2, 2003, at 12:35 PM, Lithium wrote:

> But I found a trick. Yes! Terminal can do that.
>
> ~ lithium$ drutil tray open
>
> The command opens my external drive tray!!! Of cause, you can "close" 
> the tray.
> It's not practical. Just for fun ;-)
> Can I make this command into a script for one click away?

Here's some Applescript that will do that:

	tell application "Terminal" to do script "drutil tray open && exit"

If you put this script file in ~/Library/Scripts, then you could get to 
it by the Scripts menu.  (If that's not in your menu, it lives in the 
same CoreServices directory I mentioned earlier.)

Just in case "drutil" starts ejecting your internal drive, it looks 
like you can add a "-drive firewire" option to the command and target 
your Firewire (or USB, as appropriate) drive.

Hey, this is fun!

--
John Labovitz photography
www.johnlabovitz.com
johnl at johnlabovitz.com
+1 503.873.6734



More information about the Cube mailing list