Re: Determining startup AppleEvents
Re: Determining startup AppleEvents
- Subject: Re: Determining startup AppleEvents
- From: Jens Alfke <email@hidden>
- Date: Mon, 23 Jun 2008 10:18:15 -0700
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@hidden)
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:
This email sent to email@hidden