More volume questions (was: Unmounting a volume)
More volume questions (was: Unmounting a volume)
- Subject: More volume questions (was: Unmounting a volume)
- From: Dave C <email@hidden>
- Date: Mon, 23 Feb 2015 08:30:02 -0800
tell application "Finder" eject "VolumeName" end tell
Neil
-=-=-=-
Ha! That was easy.
Two more questions re. this task:
1. How do I eject the volume if it’s in use—rather, how do I detect (detect the error when it fails to eject?) that it’s in use and wait a bit and try again?
2. How do I mount a volume whose drive shows up in Disk Utility and whose “twin” volume (the other volume on that drive ) is already mounted? (The volume in question is grayed-out when I want to mount it.)
I tried the obvious
'mount “VolumeName” ‘
but apparently it’s not quite so straightforward.
Thanks, Dave
|
_______________________________________________
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