• 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: Algorithms in Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Algorithms in Applescript


  • Subject: Re: Algorithms in Applescript
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 30 Mar 2015 16:44:49 +1100

On 30 Mar 2015, at 4:03 pm, Tom Robinson <email@hidden> wrote:

But when I run either from Script Editor I receive:  'error "NSString doesn’t understand the “stringWithString_” message." number -1708 from NSString'

Am I missing something?

At the beginning of the script you need:

use framework "Foundation"

And you need to be using Yosemite (or Mavericks and save it in a script library).


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: 
 >Algorithms in Applescript (From: Jean-Christophe Helary <email@hidden>)
 >Re: Algorithms in Applescript (From: Christopher Stone <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: Christopher Stone <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: "Stockly, Ed" <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: "Stockly, Ed" <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: "Stockly, Ed" <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: "Stockly, Ed" <email@hidden>)
 >Re: Algorithms in Applescript (From: Shane Stanley <email@hidden>)
 >Re: Algorithms in Applescript (From: Tom Robinson <email@hidden>)

  • Prev by Date: Re: Algorithms in Applescript
  • Next by Date: Scripting Mail for Spam
  • Previous by thread: Re: Algorithms in Applescript
  • Next by thread: Re: Algorithms in Applescript
  • Index(es):
    • Date
    • Thread