Re: Tell OS X to eject all network drives?
Re: Tell OS X to eject all network drives?
- Subject: Re: Tell OS X to eject all network drives?
- From: Simon Forster <email@hidden>
- Date: Wed, 24 Apr 2002 20:40:58 +0100
On Wednesday, April 24, 2002, at 06:39 PM, Kinsella, John R. wrote:
Any guru's out there have a suggestion on how I could tell OS X to
eject all
network drives/volumes?
Check out the Finder's dictionary. A down and dirty method would be to
iterate through every disk and try to eject it. The "clean" method would
be to iterate through every disk and if not (local volume) then eject it.
tell application "Finder" to eject (every disk whose local volume is
false)
works for me.
HTH
Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<
mailto:email@hidden>
________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.