Re: stringWithContentsOfURL works when it's a script, not when it's an app
Re: stringWithContentsOfURL works when it's a script, not when it's an app
- Subject: Re: stringWithContentsOfURL works when it's a script, not when it's an app
- From: Shane Stanley <email@hidden>
- Date: Wed, 05 Oct 2016 14:55:11 +1100
On 5 Oct. 2016, at 2:28 pm, Steve Mills <email@hidden> wrote:
>
> Works if I run the .scpt from Script Debugger or from the system Script menu, also works if I run the .app from Script Debugger, but does not work if I run the .app from the system Script menu or by launching it in Finder.
You're banging up against app Transport Security. You'll need to add the relevant entry to your app's Info.plist file.
You should also log a request for exposing this setting in Script Debugger.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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