Jump to content

Recommended Posts

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

Link to post
Share on other sites



Disable/enable the mouse and keyboard.

BlockInput ( flag )


flag 1 = Disable user input

0 = Enable user input


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.


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...