Subject: | |
From: | |
Reply To: | |
Date: | Sun, 15 Jan 2006 23:13:41 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 3:16 pm -0700 15/1/06, Chuck Pelto wrote:
>On Jan 13, 2006, at 10:02 AM, Barry Wainwright wrote:
>
>>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.
Are you _sure_? It works in every case for me so long as the path is
right. Are you sure you're not _both_ escaping spaces _and_
enclosing in quotes. You can do one or the other but not both, and
since you don't tell us what your correct path is, it's impossible to
say what's wrong.
do shell scriptÂ
"cd; hdiutil attach -readonly 'Downloads_060101/Eudora 6.2.3.dmg'"
OR
do shell script Â
"cd; hdiutil attach -readonly Downloads_060101/Eudora\\ 6.2.3.dmg"
JD
|
|
|