Re: Detecting modifier keys when app launched from Dock
Re: Detecting modifier keys when app launched from Dock
- Subject: Re: Detecting modifier keys when app launched from Dock
- From: Matt Neuburg <email@hidden>
- Date: Sat, 31 Dec 2005 10:52:38 -0800
- Thread-topic: Detecting modifier keys when app launched from Dock
On Thu, 29 Dec 2005 23:08:56 -0500, Rick Hoge <email@hidden>
said:
>
>
iPhoto is able to run a special panel if you hold down the Option key
>
while clicking its icon in the Dock. I'd like to implement this kind
>
of special behavior, but am not sure how to detect when a modifier
>
key has been held down during a Dock launch.
iPhoto is not detecting that there's a Dock launch; it is merely detecting
that the Option key is held down at launch time, period. So now the question
is merely how to detect that the Option key is down at launch time. That has
been answered many times here, so check the archives. m.
--
matt neuburg, phd = email@hidden, <
http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden