• 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: Path to Disk Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path to Disk Image


  • Subject: Re: Path to Disk Image
  • From: Matt Deatherage <email@hidden>
  • Date: Fri, 2 Sep 2005 14:33:36 -0500

On 9/2/05 at 1:16 PM, Luther Fuller <email@hidden> wrote:

> Does anyone know how to do this?
>
> I've tried dictionary's for Finder, System Events and
> DiskImageMounter, but no luck.

The Disk Images framework knows that a volume is tied to a disk image file, but it doesn't seem to make the information available in any AppleScript-friendly way I can find.

The shell command "hdiutil info" will list mounted disk images along with their paths, and changing it to "hdiutil info -plist" returns it in an XML property list format that's guaranteed to stay more stable across releases.  It'd take some work to parse that in AppleScript, though Late Night Software's free Property List Tools osax would help.

<http://www.latenightsw.com/freeware/PListTools/index.html>

This sounds like a good enhancement request for "info for", by the way.

--
Matt Deatherage                              <email@hidden>
GCSF, Incorporated                      <http://www.macjournals.com>

If you can't be kind, at least have the decency to be vague.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Path to Disk Image (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: How to determine whether launched automatically at login
  • Next by Date: [ANN] Desktop Wrap for Tiger version 1.3
  • Previous by thread: Path to Disk Image
  • Next by thread: Re: Path to Disk Image
  • Index(es):
    • Date
    • Thread