• 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: stringWithContentsOfURL works when it's a script, not when it's an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: stringWithContentsOfURL works when it's a script, not when it's an app
      • From: Steve Mills <email@hidden>
References: 
 >stringWithContentsOfURL works when it's a script, not when it's an app (From: Steve Mills <email@hidden>)
 >Re: stringWithContentsOfURL works when it's a script, not when it's an app (From: Shane Stanley <email@hidden>)
 >Re: stringWithContentsOfURL works when it's a script, not when it's an app (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: stringWithContentsOfURL works when it's a script, not when it's an app
  • Next by Date: Re: stringWithContentsOfURL works when it's a script, not when it's an app
  • Previous by thread: Re: stringWithContentsOfURL works when it's a script, not when it's an app
  • Next by thread: Re: stringWithContentsOfURL works when it's a script, not when it's an app
  • Index(es):
    • Date
    • Thread