• 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: Run an AppleScript from Objective-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run an AppleScript from Objective-C?


  • Subject: Re: Run an AppleScript from Objective-C?
  • From: Nathan Day <email@hidden>
  • Date: Thu, 14 Mar 2002 20:58:45 +1030

I've written a class for compiling, running and sending AppleEvents to AppleScripts, which you can get at my iTools home page.
http://homepage.mac.com/nathan_day/

On Monday, March 11, 2002, at 02:23 PM, Charles Srstka wrote:

Forgive me if this has already been answered. I was unable to find an answer in the archives.

I want to send an AppleScript from Cocoa, programmatically. From what I understand, it is possible to use Carbon for this or to call command-line tools. However, it seems that there must be an easy Objective-C way to do this, because of AppleScript Studio. If the Objective-C NSButton objects are able to execute a script, it must be possible to do this with Objective-C and AppleScript, right? And it just seems that this would be a lot more elegant than using Carbon or command-line tools.

Anyone know how to do this, or know of an FM that I can R?
_______________________________________________
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.

  • Follow-Ups:
    • Re: Run an AppleScript from Objective-C?
      • From: Sam Goldman <email@hidden>
References: 
 >Run an AppleScript from Objective-C? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: NSAutoreleasePool problem
  • Next by Date: Terminating process
  • Previous by thread: Run an AppleScript from Objective-C?
  • Next by thread: Re: Run an AppleScript from Objective-C?
  • Index(es):
    • Date
    • Thread