• 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: Returning reply AppleEvents - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning reply AppleEvents - how?


  • Subject: Re: Returning reply AppleEvents - how?
  • From: Jim Correia <email@hidden>
  • Date: Mon, 21 Jun 2004 08:00:22 -0400

On Jun 21, 2004, at 2:46 AM, Ken Tozier wrote:

I wrote my custom handler like so:

- (void)handleAppleEvent:(NSAppleEventDescriptor *)event
withReplyEvent:(NSAppleEventDescriptor *)replyEvent;

documented here:
"http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSAppleEventManager.html#//apple_ref/doc/uid/
20000475/BCIBGJIH"

I put some NSLogs inside it and it is getting called and doing
everything it's supposed to, I just don't know how to return the
results of what it does.

You put the result in replyEvent as keyDirectObject, or an error as keyErrorString and keyErrorNumber.

Jim
_______________________________________________
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.


References: 
 >Re: Returning reply AppleEvents - how? (From: Ken Tozier <email@hidden>)

  • Prev by Date: NSBrowser smudged quotes and inter-row dots
  • Next by Date: Re: A strange constructor question
  • Previous by thread: Re: Returning reply AppleEvents - how?
  • Next by thread: Problem with a tableview and image in the bg
  • Index(es):
    • Date
    • Thread