• 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: How to send myself an AppleEvent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send myself an AppleEvent?


  • Subject: Re: How to send myself an AppleEvent?
  • From: Camillo Lugaresi <email@hidden>
  • Date: Tue, 28 Feb 2006 17:18:25 +0100

On 28/feb/06, at 16:03, Pierre Bernard wrote:

Mike,

thanks for your reply. I might investigate the AppleScript route.

I'd rather send my app the very same event it receives upon a click on the Dock rather than recreating the desired behavior myself.

That's the reopen AppleEvent. You can use the "reopen" command in AppleScript, or send the AE directly using AEBuildAppleEvent and AESend. There is no Cocoa API for sending AppleEvents directly.


Camillo
_______________________________________________
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


References: 
 >How to send myself an AppleEvent? (From: Pierre Bernard <email@hidden>)
 >Re: How to send myself an AppleEvent? (From: Mike Abdullah <email@hidden>)
 >Re: How to send myself an AppleEvent? (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: List of all available classes ?
  • Next by Date: Re: NSDocument not receiving notifications from NSTextField
  • Previous by thread: Re: How to send myself an AppleEvent?
  • Next by thread: List of all available classes ?
  • Index(es):
    • Date
    • Thread