• 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: Thu, 06 Oct 2016 14:39:20 +1100

On 6 Oct. 2016, at 2:33 pm, Steve Mills <email@hidden> wrote:
>
> OK, this is weird. The one saved in SD was one I wrote at work today while writing up the radar. Its info.plist had the Bundle Identifier set to com.rrd.stringWithContentsOfURL-bug. The one saved from SE has com.apple.ScriptEditor.id.stringWithContentsOfURL-bug-from-Script-Editor as the Bundle Identifier. Curious, I copied the long one from SE and used it in the one from SD. Now the script works. I changed it back. Script fails. I then simply changed it to com.apple.stringWithContentsOfURL-bug. Script works.
>
> Made a new script app in SD with the same script at home, where my company name is ArmpitStudios, so the Bundle Identifier ended up being com.ArmpitStudios.Untitled. Script fails.
>
> So it seems that something is only letting script apps work when the ID begins with com.apple?

I don't know whether to laugh or cry...

--
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


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>)
 >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>)
 >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>)
 >Re: stringWithContentsOfURL works when it's a script, not when it's an app (From: Steve Mills <email@hidden>)

  • Prev by Date: Accessibility
  • Next by Date: Calling AppleScript from delegate methods
  • Previous by thread: Re: stringWithContentsOfURL works when it's a script, not when it's an app
  • Next by thread: Saving in photoshop CS6 with option
  • Index(es):
    • Date
    • Thread