Can I also add that over here the behaviour seems far from determinate -- pressing control-shift-2 repeatedly sometimes calls the trigger function and sometimes it triggers the OnKeyDown event -- and I do hope that it's more to do with my script than some hitherto undiscovered bug.
Matt
At 00:19 15/06/2012, you wrote:
Hi Jeff,
Do you have a code example of what you mean?.
Warm regards.
Martin Webster.
I.T. team leader for Kirklees visual impairment network.

--- On Thu, 6/14/12, Jeff Bishop <[email protected]> wrote:

From: Jeff Bishop <[email protected]>
Subject: OnKeyUp and OnKeyDown and scripted hotkeys ...
To: [email protected]
Date: Thursday, June 14, 2012, 8:59 PM

Hello GW Micro Gods,



It seems that if you tie a hotkey to a key, say like the letter r for example then this works fine. Let’s say you wish to hook the OnKeyUp and Down events for whatever reason and capture that same key but discard it and take an action on it. I can not get this to work. The scripted hotkey always fires even though the KeyDisposition is set to Discard and Silence (ored).



Is this expected? Meaning, if I tie a key to a script then it would always win due to it being bound prior to the OnKeyUp and Down events?



Jeff


Reply via email to