• 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: Downloading a file from the internet with a URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Downloading a file from the internet with a URL


  • Subject: Re: Downloading a file from the internet with a URL
  • From: 2551phil <email@hidden>
  • Date: Fri, 13 May 2016 16:11:50 +0700


On 13 May 2016, at 13:55, Shane Stanley <email@hidden> wrote:

On 13 May 2016, at 11:24 AM, Shane Stanley <email@hidden> wrote:

Here's an AppleScriptObjC approach.

And this is probably a bit better if you're not running it from a stay-open applet:


A lot better. The first one threw me an error when run in Script Editor, along the lines of "The variable ‘theError' is not defined”, here:

if theTask's |error|() is not missing value then error (theError's localizedString() as text)

The second one worked without flaw. I can see me reusing this, thanks!


Best


Phil

 _______________________________________________
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

  • Follow-Ups:
    • Re: Downloading a file from the internet with a URL
      • From: Shane Stanley <email@hidden>
References: 
 >Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Shane Stanley <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Downloading a file from the internet with a URL
  • Next by Date: Re: Downloading a file from the internet with a URL
  • Previous by thread: Re: Downloading a file from the internet with a URL
  • Next by thread: Re: Downloading a file from the internet with a URL
  • Index(es):
    • Date
    • Thread