Can I Send Apple Events in Cocoa?
Can I Send Apple Events in Cocoa?
- Subject: Can I Send Apple Events in Cocoa?
- From: Kaydell Leavitt <email@hidden>
- Date: Fri, 9 Dec 2005 21:07:40 -0800 (PST)
Hi,
I need to send an Apple Event to a program to automate
exporting of data from it to a web-site.
As far as I can tell, I can receive Apple Events in
Cocoa, but I can't send them directly. (This was
stated in "Cocoa Programming" in which they said that
this was true as of 10.1.3)
I understand that I could embed Apple Scripts in
Cocoa, but this seems indirect and less good than just
directly sending Apple Events and receiving a reply as
to whether the export was successful or not.
I believe that Apple is de-emphasizing Apple Events.
I suppose the next generation software would use some
kind of Unix technology for interapplication
communication. I've heard a source at Apple say that
this is faster.
What I'm doing is fairly simple, I could embed an
Apple Script in my Objective-C code. Or, I know Java,
actually, I'd rather add to this Cocoa-Objective-C app
that I've inerited and add the new functionality in
Java. Or I understand that you can use the Cocoa
framework and build on it with Apple Script Studio,
which I guess is different than embedding Apple
Scripts in Objective C.
Can someone with experience give me a recommendation
of how to proceed?
Thanks.
Kaydell
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden