MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Christian Huldt <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 16 Jan 2006 10:43:03 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
15 jan 2006 kl. 23.16 skrev Chuck Pelto:

>
>> Do shell script "hdiutil attach '/Users/MyName/Documents/ 
>> MyDiskImage.dmg'-readonly"
>
> This syntax does not seem to work very well.
>
> I've used '/Users/whatgoesformyname/Documents/TestDiskImage.dmg'- 
> readonly and I get error messages about "no such file".
>
> The naming of the path IS correct.
>
> So what's going wrong?
>

you need a space after the path if your disk images is not named  '/ 
Users/MyName/Documents/MyDiskImage.dmg'-readonly

ATOM RSS1 RSS2