Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.apps > #27923

Re: AppleScript question

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.apps, comp.sys.mac.misc, comp.sys.mac.system
Subject Re: AppleScript question
Date 2015-02-23 00:42 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <ckvbboFkucgU1@mid.individual.net> (permalink)
References <0001HW.D10FA3AA0265EEA0B01029BF@news.eternal-september.org>

Cross-posted to 3 groups.

Show all headers | View raw


On 2015-02-22, Mike Cook <mcham@NOTyahoo.com> wrote:
> I want to unmount a volume, one of 2 on a hard drive. I have successfully 
> unmounted the drive but, of course, this unmounts both volumes:
>
>      do shell script "diskutil unmountDisk " & diskDev
>
> How can I unmount just one volume?

tell app "Finder" to eject "Disk Name Here"

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.apps | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

AppleScript question Mike Cook <mcham@NOTyahoo.com> - 2015-02-22 15:18 -0800
  Re: AppleScript question Warren Oates <warren.oates@gmail.com> - 2015-02-22 18:37 -0500
  Re: AppleScript question Jolly Roger <jollyroger@pobox.com> - 2015-02-23 00:42 +0000

csiph-web