• 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 file with curl and then launch it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: download file with curl and then launch it


  • Subject: Re: download file with curl and then launch it
  • From: Andrew Oliver <email@hidden>
  • Date: Thu, 27 Jan 2005 00:37:40 -0800

On 1/26/05 6:19 PM, "Graham Anderson" <email@hidden> wrote:

> what is the proper way to download a file...wait for it to
> complete...and then launch it ?
>
>
> set the_command to "curl " & remoteFile & " -o " & quotes &
> localFile_posixPath & quotes
> do shell script the_command
>
> --Wait until download is complete and file is ready
> --then....
>
> tell application "QuickTime Player"
> launch -- bypasses promo movie

[blah, blah, blah]

I'm curious as to why you don't just have QuickTime Player open the URL
directly. Its dictionary includes both a 'getURL' and an 'open location'
command, both of which appear to accept a URL to play.

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

References: 
 >download file with curl and then launch it (From: Graham Anderson <email@hidden>)

  • Prev by Date: Unpack and pack .gz files.
  • Next by Date: Re: Unpack and pack .gz files.
  • Previous by thread: Re: download file with curl and then launch it
  • Next by thread: Re: download file with curl and then launch it
  • Index(es):
    • Date
    • Thread