Re: Determining startup AppleEvents

2008-06-23 Thread Jens Alfke
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, an

Determining startup AppleEvents

2008-06-23 Thread Mike
Is there a way in Cocoa to determine if the application was launched with or without an initial AppleEvent? In particular, I am thinking of the Launch Services option that allows an app to be launched with an optional AppleEvent. I need a convenient way to know an AppleEvent I am receiving ca