2011-07-28, 23:53
I have a script that can be run from the addon settings page when the proper button is pressed. This script wants to grab all alphabet keys from the keyboard as they're pressed and use them to fill in a box. This isn't an issue except when the key is attached to an action.
For example, when 'S' is pressed on my system, the shutdown screen is brought up. The script also gets the keypress, but as far as I can tell it can't prevent the system from running the action as well. Any idea on how to prevent this?
For example, when 'S' is pressed on my system, the shutdown screen is brought up. The script also gets the keypress, but as far as I can tell it can't prevent the system from running the action as well. Any idea on how to prevent this?