Jump to content

Keep workstation from being used

Recommended Posts

Sometimes when I run a script that automates a lot of tasks I forget about it, and then I open a program. Then AutoIt is typing and hitting menus which ruins everything because the order of operations is now somewhere in the middle.

Is there a way to lock the keyboard and mouse operations to keep the workstation from being used except for exiting the script from the systray?



Link to post
Share on other sites

Read the helpfile on BlockInput...

...but read the entire page before using it in your script.

If you are careful when you write your scripts, you can have them activate the window of interest before each key or blocks of keys are sent. It is not foolproof, but scripts can be made to be somewhat tolerant of user interruptions.

hope this helps...


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