Re: Auto mount .dmg in High Sierra? Possible??
Re: Auto mount .dmg in High Sierra? Possible??
- Subject: Re: Auto mount .dmg in High Sierra? Possible??
- From: Paul Scott <email@hidden>
- Date: Fri, 23 Mar 2018 18:36:59 -0700
- Dkim-filter: OpenDKIM Filter v2.11.0 secure.paul-scott.us 8E07240131
I don't see any problem with doing a detach.
On 3/23/2018 4:50 PM, Brian Christmas wrote:
Thanks Paul
However, I’m now confused.
The / hdiutil man pages/ explicitly seem to say to /NOT DETACH AN
ACTION/, but to/unmount a drive/, the user should explicitly use the
*/unmount/* command.
Should I use….
/
/
*
*
*set* shellScript*to* "hdiutil attach -verify -autofsck -mount
required " & myPath
*set* tempAction*to* *do shell script*shellScript
/
/
/do shell script "hdiutil unmount “ & /*tempAction*
/*
*/
Very hard to test if action is attached or not?
Regards
Santa
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
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