Re: Sending AppleEvent from Carbon To Cocoa App
Re: Sending AppleEvent from Carbon To Cocoa App
- Subject: Re: Sending AppleEvent from Carbon To Cocoa App
- From: olivier <email@hidden>
- Date: Fri, 30 May 2003 09:32:59 -0500
take a look at the following technote:
http://developer.apple.com/technotes/tn/tn2045.html
Olivier
On Thursday, May 29, 2003, at 10:02 AM, John Nairn wrote:
I finally managed to get the NSApplication class of a Cocoa
application to respond to a custom AppleScript command and do
something. The command takes a single NSString argument and it all
works fine in a script from Script Editor.
Now I want to send that command from a Carbon application and I am at
a total loss of where to look in Apple Documentation. In fact, I am
finding the entire documentation on scriptable applications and apple
events very difficult to use as a learning tool. Is there some sample
code for sending command with one argument to NSApplication class of
Cocoa app from carbon app using the defined Apple Event codes?
------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.mse.utah.edu/~nairn
_______________________________________________
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.
_______________________________________________
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.