Paradox Posted September 29, 2005 Posted September 29, 2005 Hey guys, Here's one for ya... My program is done, however, my higher ups are curious to know if I can come up with a section of code to be able to deny input from the keyboard or mouse... I know that this can be risky, considering that if something goes wrong with the script after you lock them out, you're basically screwed and would have to reboot. So here's the modified request: Is there a way to lock out keyboard and mouse functions, but still have a failsafe key-combination (or a hotkey) to restore functions if something go wrong during the script???
Paradox Posted September 29, 2005 Author Posted September 29, 2005 Hey guys, Here's one for ya...My program is done, however, my higher ups are curious to know if I can come up with a section of code to be able to deny input from the keyboard or mouse... I know that this can be risky, considering that if something goes wrong with the script after you lock them out, you're basically screwed and would have to reboot. So here's the modified request:Is there a way to lock out keyboard and mouse functions, but still have a failsafe key-combination (or a hotkey) to restore functions if something go wrong during the script??? HAHAHAHA!!! I'm such a goober! BlockInput() durr.... hehehe
MSLx Fanboy Posted September 29, 2005 Posted September 29, 2005 BlockInput traps both, without an override possibility (except ctrl-alt-del). _MouseTrap is a nifty tool I've been using lately...most people I am around don't know too many keyboard shortcuts Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate())
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now