• 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
Can I Send Apple Events in Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can I Send Apple Events in Cocoa?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Crash when expanding outlineview bound to CoreData
  • Next by Date: NSObject Exercise comments?
  • Previous by thread: Crash when expanding outlineview bound to CoreData
  • Next by thread: Re: Can I Send Apple Events in Cocoa?
  • Index(es):
    • Date
    • Thread