• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Droplet to Unmount dragged-on Volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Droplet to Unmount dragged-on Volume (From: Marconi <email@hidden>)

  • Prev by Date: Re: missing System Events.app
  • Next by Date: Rép: missing System Events.app
  • Previous by thread: Droplet to Unmount dragged-on Volume
  • Next by thread: OSAX Search
  • Index(es):
    • Date
    • Thread