Ken Thomases (k...@codeweavers.com) on 2008-11-26 2:33 AM said:
>> I'm wondering if it's possible to tell if my application was launched
>> normally by the user, or if it was launched by virtue of being in the
>> login items.
>
>You need to look up the Apple Event that is current at the time of
>y
Perfect thanks!
The only minor tweak is that the AE doesn't coerce into an int32Value
(you always get 0), instead I used the enumCodeValue method and it
works as advertised.
For the question about why I want to know - I have a preference option
to say don't open a default window if the applicatio
On Nov 26, 2008, at 12:38 AM, Mark Aufflick wrote:
I'm wondering if it's possible to tell if my application was launched
normally by the user, or if it was launched by virtue of being in the
login items.
You need to look up the Apple Event that is current at the time of
your application's la
What are you actually trying to accomplish?
--
m-s
On 25 Nov, 2008, at 22:38, Mark Aufflick wrote:
Hi all,
I'm wondering if it's possible to tell if my application was launched
normally by the user, or if it was launched by virtue of being in the
login items.
I don't see anything in NSAppli
Hi all,
I'm wondering if it's possible to tell if my application was launched
normally by the user, or if it was launched by virtue of being in the
login items.
I don't see anything in NSApplication to that effect. I'm guessing the
parent process might be different, but I'm hoping there is a stan