Re: How to send myself an AppleEvent?
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