Re: Path to Disk Image
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