| View previous topic :: View next topic |
| Author |
Message |
Python789 Guest
|
Posted: Fri Jan 29, 2010 11:08 am Post subject: Disable a key without my script running? |
|
|
Hi,
Is there any way I can disable a key, and then have my script exit, leaving the key still disabled?
Thanks! |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jan 29, 2010 6:52 pm Post subject: |
|
|
no
ahk doesnt really disable keys, it blocks them
so what it means is, when u type something, the keyboard still send the keystroke code to the OS, but then ur script will intercept it and make it does nothing to the active application u are on |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Fri Jan 29, 2010 10:40 pm Post subject: |
|
|
it may be possible if you have registry write access. I'm fairly sure there is a way that you can block a key with a registry entry.
then you can write a script the writes the entry to the registry and exits. _________________
(Common Answers) |
|
| Back to top |
|
 |
|