Re: Downloading a file from the internet with a URL
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