Sign in to follow this  
Followers 0
Swimming_Bird

Overide Keyboard kill

3 posts in this topic

I'm very interested in disableing the keyboard and mouse to prevent any user interferance, however if somehting should happen i dont want them to be stuck in the disabled mode, is there any way to set it so that some hotkey or something can trigger the script to die while in this portion of the script?

Thanks for all the help :)

Share this post


Link to post
Share on other sites



BlockInput

--------------------------------------------------------------------------------

Disable/enable the mouse and keyboard.

BlockInput ( flag )

Parameters

flag 1 = Disable user input

0 = Enable user input

Remarks

If BlockInput is enabled, the Alt keypress cannot be sent!

The table below shows how BlockInput behavior depends on Windows' version; however, pressing Ctrl+Alt+Del on any platform will re-enable input due to a Windows API feature.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

:"> sorry

thanks for the help

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0