Re: Eject in Leopard (Jay Louvion)
Re: Eject in Leopard (Jay Louvion)
- Subject: Re: Eject in Leopard (Jay Louvion)
- From: Jay Louvion <email@hidden>
- Date: Fri, 09 Nov 2007 23:08:56 +0100
- Thread-topic: Eject in Leopard (Jay Louvion)
Title: Re: Eject in Leopard (Jay Louvion)
On 09.11.2007 21:43, "Andrew" <email@hidden> spake thus:
My scripts that use "Eject" stopped working in Tiger.
I now use this code, which works in Tiger and Leopard:
do shell script "/usr/sbin/diskutil eject /Volumes/[VOLUME NAME]"
-Andrew Moses
> nothing happens with the usual code -
>
> tell application "Finder"
> eject "NIKON D2X"
> end tell
Mmh... Okay, surprising it was broken in Tiger for you – it’s only in Leopard it went belly up for me. It’s an okay solution, but boy does it take time (about 5 seconds) for the script to eject the Volume.
Anyone else tried the eject command ?
Best,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden