Re: Run an AppleScript from Objective-C?
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.