Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send myself an AppleEvent?



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.