Re: Droplet to Unmount dragged-on Volume
Re: Droplet to Unmount dragged-on Volume
- Subject: Re: Droplet to Unmount dragged-on Volume
- From: Luther Fuller <email@hidden>
- Date: Mon, 09 May 2011 11:28:23 -0500
On May 9, 2011, at 9:11 AM, Marconi wrote: set diskAlias to (item 1 of dropList) as alias
set Vol_Name to POSIX path of diskAlias
set commandLine to "umount " & Vol_Name set The_Result to do shell script commandLine
You already have an alias to the mounted disk.
If you insist on using 'umount' the 2nd line should be
set Vol_Name to (quoted form of (POSIX path of diskAlias))
It's even easier to do this ...
tell application "Finder" to eject diskAlias
|
_______________________________________________
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