• 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: Executing AppleScript from Cocoa (with return values)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing AppleScript from Cocoa (with return values)


  • Subject: Re: Executing AppleScript from Cocoa (with return values)
  • From: Cameron Hayne <email@hidden>
  • Date: Mon, 18 Aug 2003 02:18:41 -0400

On 17/8/03 9:31 PM, "Evan DiBiase" <email@hidden> wrote:

> given that script (or some variant), I'd like to run the script
> and access to the return value in my Cocoa application (as an NSArray,
> for example).

I haven't any experience in calling AppleScript from Cocoa.
But I point out one simple if ugly solution - just write the data out to a
temp file in the AppleScript and then read that file in Cocoa.

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Executing AppleScript from Cocoa (with return values) (From: Evan DiBiase <email@hidden>)

  • Prev by Date: Drawing to a hidden view
  • Next by Date: Re: Executing AppleScript from Cocoa (with return values)
  • Previous by thread: Executing AppleScript from Cocoa (with return values)
  • Next by thread: Re: Executing AppleScript from Cocoa (with return values)
  • Index(es):
    • Date
    • Thread