• 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: Dustin Voss <email@hidden>
  • Date: Sun, 20 Jun 2004 23:00:23 -0700

On 20 Jun, 2004, at 8:52 PM, Ken Tozier wrote:

I defined a handler for a custom apple event, put what I want to return in the reply event, but now what? The documentation shows handlers to have a void return type and there didn't seem to be any obvious methods in NSAppleEventManager to do it, so how do you send the reply event back to the sender?

Cocoa Scripting handlers have a return value. Return the result there. If, for some reason, you can't do that, then you can call [NSScriptCommand currentCommand] and work with that.
_______________________________________________
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: 
 >Returning reply AppleEvents - how? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Quartz and QuickTime Movies... ?
  • Next by Date: Re: Returning reply AppleEvents - how?
  • Previous by thread: Returning reply AppleEvents - how?
  • Next by thread: Re: Returning reply AppleEvents - how?
  • Index(es):
    • Date
    • Thread