Re: Auto mount .dmg in High Sierra? Possible??
Re: Auto mount .dmg in High Sierra? Possible??
- Subject: Re: Auto mount .dmg in High Sierra? Possible??
- From: Paul Scott <email@hidden>
- Date: Thu, 22 Mar 2018 14:11:38 -0700
- Dkim-filter: OpenDKIM Filter v2.11.0 secure.paul-scott.us 400EE40167
I meant to say, "your current directory is NOT your home directory," as might
be expected.
See this reference for details:
https://developer.apple.com/library/content/technotes/tn2065/_index.html
Look for "What’s the default working directory for do shell script commands?”
Paul
> On Mar 22, 2018, at 12:33 PM, Paul Scott <email@hidden> wrote:
>
> Keep in mind that when you run “do shell script” your current directory is
> your home directory. You may need to include a path to the archive. Also,
> since the file name must be quoted (contains a blank) beware not to use smart
> quotes or apostrophes. Use an ASCII apostrophe.
>
> Paul
>
>> On Mar 22, 2018, at 12:27 PM, Brian Christmas <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>> <snip>
>>
>> I have a disk image, unmounted, as the man pages seem to suggest, but I’m
>> getting a ‘No such file or directory' error.
>>
>> <snip>
>>
>> do shell script ("hdiutil attach 'Art Archiver.dmg’")
>
_______________________________________________
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