How's that Aaron?
 
if they press the hotkey, then they press something else, your hotkey event
handler won't get called right?  so how will you know when they've pressed
something else, so you could say "you only pressed the hotkey once" or
whatever?
 
thanks.
 
Chip
 

  _____  

From: Aaron Smith [mailto:[email protected]] 
Sent: Tuesday, April 20, 2010 11:22 AM
To: [email protected]
Subject: Re: Sending Alt-Tab in a script - doesn't work fully, why?


On 4/20/2010 11:14 AM, Chip Orange wrote: 

You could use registerHotKey for the alt-downarrow, but your real problem is
knowing when they've hit something else.  if any other key will terminate
your counting, then you'll need to learn to use the onKey event, and test to
see if it's not alt-downarrow.


Actually, that's easy enough to figure out by checking the FirstPress
parameter of your hotkey handler.

Aaron

-- 

Aaron Smith 

Product Support Specialist * Web Development

GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825

260-489-3671 * gwmicro.com



To insure that you receive proper support, please include all past

correspondence (where applicable), and any relevant information

pertinent to your situation when submitting a problem report to the GW

Micro Technical Support Team.

Reply via email to