FROM : Annard Brouwer
DATE : Wed Jun 14 18:10:35 2006
Make sure you install these event handlers as soon as possible. For
instance in your NSApp delegate in -applicationWillFinishLaunching:.
Otherwise the standard Apple handler has already handled this event
(it is in the docs by the way).
Annard
On 14 Jun 2006, at 17:49, Martin Redington wrote:
> ====
>
> My understanding is that my app will receive an apple event from
> LSLaunchURLSpec, and that I can inspect this AppleEvent, to see if
> my passthrough arg os present or not.
>
> =====
>
> So, I tried installing new kAEOpenApplication,
> kAEReopenApplication, and kAEOpenDocuments handlers, in my
> controller's awakeFromNib method, like so:
>
> NSAppleEventManager *appleEventManager = [NSAppleEventManager
DATE : Wed Jun 14 18:10:35 2006
Make sure you install these event handlers as soon as possible. For
instance in your NSApp delegate in -applicationWillFinishLaunching:.
Otherwise the standard Apple handler has already handled this event
(it is in the docs by the way).
Annard
On 14 Jun 2006, at 17:49, Martin Redington wrote:
> ====
>
> My understanding is that my app will receive an apple event from
> LSLaunchURLSpec, and that I can inspect this AppleEvent, to see if
> my passthrough arg os present or not.
>
> =====
>
> So, I tried installing new kAEOpenApplication,
> kAEReopenApplication, and kAEOpenDocuments handlers, in my
> controller's awakeFromNib method, like so:
>
> NSAppleEventManager *appleEventManager = [NSAppleEventManager
| Related mails | Author | Date |
|---|---|---|
| Martin Redington | Jun 14, 17:49 | |
| Annard Brouwer | Jun 14, 18:10 | |
| Martin Redington | Jun 14, 19:28 | |
| Martin Redington | Jun 15, 07:23 | |
| Matt Neuburg | Jun 15, 18:13 |






Cocoa mail archive

