PrgSkidmark Posted January 6, 2006 Posted January 6, 2006 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? Thanks, Doug
herewasplato Posted January 6, 2006 Posted January 6, 2006 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... [size="1"][font="Arial"].[u].[/u][/font][/size]
PrgSkidmark Posted January 6, 2006 Author Posted January 6, 2006 Read the helpfile on BlockInput......but read the entire page before using it in your script.I use a lot of Alt key combinations for the menus. I run them on a mix of SP1 and SP2 computers, so I will be careful and test.Thanks for the help!
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