• 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: Download dmg and then mount the volume ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Download dmg and then mount the volume ?


  • Subject: Re: Download dmg and then mount the volume ?
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 30 Jan 2005 13:45:12 -0800

On 1/30/05 1:31 PM, "Graham Anderson" <email@hidden> wrote:

> what is the proper way to download a dmg file and then mount it
> The curl script  is working...but the 'mount volume' or 'open file'  is
> not
>
> --gives  'Network file permission error"
> mount volume "Fonovisa.dmg"
>
> --gives does not understand message
> open file ((path to desktop as text) & "Fonovisa.dmg")
>
> Alternative:
> Can I mount  the dmg from my server [unix] to the user's desktop ?

Haven't tried it, but I expect the script is failing since you're not
telling the system to mount a volume, you're telling it to mount a string.
If for no other reason there's no path the 'mount volume' command has no
idea what or where 'Fonovisa.dmg' is.

At the very least I'd expect you to have to:

 mount volume "file://" & posix path of gFonovisaDMG

or maybe just:

 tell application "Finder"
   open file gFonovisaDMG
 end tell

(in both cases, assuming gFonovisaDMG is a Mac-style path)

Andrew
:)

 _______________________________________________
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

  • Follow-Ups:
    • Re: Download dmg and then mount the volume ?
      • From: Graham Anderson <email@hidden>
References: 
 >Download dmg and then mount the volume ? (From: Graham Anderson <email@hidden>)

  • Prev by Date: Re: New window in Terminal.app
  • Next by Date: Re: New window in Terminal.app
  • Previous by thread: Download dmg and then mount the volume ?
  • Next by thread: Re: Download dmg and then mount the volume ?
  • Index(es):
    • Date
    • Thread