• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Eject image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eject image


  • Subject: Re: Eject image
  • From: Robert Poland <email@hidden>
  • Date: Thu, 28 Feb 2013 10:59:26 -0700

Thanks Chris,

I used yours.

On Feb 28, 2013, at 10:44 AM, Christopher Stone <email@hidden> wrote:

> Hey Bob,
>
> 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

Robert Poland - Fort Collins, CO




 _______________________________________________
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>)
 >Re: Eject image (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Eject image
  • Next by Date: Re: Eject image
  • Previous by thread: Re: Eject image
  • Next by thread: Re: Eject image
  • Index(es):
    • Date
    • Thread