Skip navigation.
 
mlRe: Determining startup AppleEvents
FROM : Jens Alfke
DATE : Mon Jun 23 19:18:15 2008

On 23 Jun '08, at 1:04 AM, Mike wrote:

> Is there a way in Cocoa to determine if the application was launched 
> with or without an initial AppleEvent?


That's what -applicationDidFinishLaunching: is for. It's called after 
any initial AppleEvents are dispatched. So if you reach that method, 
and you haven't been informed of any AppleEvents (via NSApplication 
delegate methods or NSAppleEvent callbacks), you know that none were 
sent.

—Jens_______________________________________________

Cocoa-dev mailing list (<email_removed>)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlDetermining startup AppleEvents Mike Jun 23, 10:04
mlRe: Determining startup AppleEvents Jens Alfke Jun 23, 19:18