12-07-2009, 06:25 PM
Thanks Gintaras,
Some progress based on your tip:
I actually need to turn off key repeat altogether not just slow down the repeat rate or repeat delay which are the parameters available from the Keyboard area of the Control Panel. It turns out the answer is in the FilterKeys function of the Accessibility Options of the Control Panel
Control Panel --> Accessibility Options --> Keyboard Tab --> FilterKeys (check) --> Settings --> Ignore quick keystrokes and slow down the repeat rate --> Settings --> No Keybaord repeat --> SlowKeys: Keys must be held down for: 0.0 seconds.
If you do all this, the regular ifk and wait K statesments work fine but now I have to figure out a way to turn on this filterkeys option. It would be great to do it in a QM script fashion (note when filterkeys is on, there is a "stopwatch" icon that shows up in the taskbar).
I did look in MSDN and found the parameters for #SystemParametersInfo uAction uParam lpvParam fuWinIni http://msdn.microsoft.com/en-us/library/...S.85).aspx
but don't yet know how to set these programatically in QM or otherwise. (though I did see how you used it in TO_Menu
Function TO_Menu
Thanks again for getting me on the right track!!!!
Stuart
Some progress based on your tip:
I actually need to turn off key repeat altogether not just slow down the repeat rate or repeat delay which are the parameters available from the Keyboard area of the Control Panel. It turns out the answer is in the FilterKeys function of the Accessibility Options of the Control Panel
Control Panel --> Accessibility Options --> Keyboard Tab --> FilterKeys (check) --> Settings --> Ignore quick keystrokes and slow down the repeat rate --> Settings --> No Keybaord repeat --> SlowKeys: Keys must be held down for: 0.0 seconds.
If you do all this, the regular ifk and wait K statesments work fine but now I have to figure out a way to turn on this filterkeys option. It would be great to do it in a QM script fashion (note when filterkeys is on, there is a "stopwatch" icon that shows up in the taskbar).
I did look in MSDN and found the parameters for #SystemParametersInfo uAction uParam lpvParam fuWinIni http://msdn.microsoft.com/en-us/library/...S.85).aspx
but don't yet know how to set these programatically in QM or otherwise. (though I did see how you used it in TO_Menu
Function TO_Menu
Thanks again for getting me on the right track!!!!
Stuart
