Jump to content

Recommended Posts

Posted

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???

Posted

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???

:P HAHAHAHA!!! I'm such a goober! BlockInput() durr.... ;) hehehe

Posted

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())

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...