Re: Eject image
Re: Eject image
- Subject: Re: Eject image
- From: Christopher Stone <email@hidden>
- Date: Thu, 28 Feb 2013 11:44:51 -0600
No real need to use the -plist option.
if (do shell script "hdiutil info") contains "TEST.sparseimage" then tell application "Finder" eject disk "TEST" end tell end if
Or you can narrow down the contents:
(do shell script "hdiutil info | sed -En '/^image-path/p'")
Best Regards, Chris
|
_______________________________________________
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: | |
| >Eject image (From: Robert Poland <email@hidden>) |