blich Posted August 6, 2004 Share Posted August 6, 2004 Hello: I am new to AutoIT v3, and I am very impressed. I was wondering if it is possible to disable the keyboard and mouse while a script is running? Currently, I have a script that customizing Windows, and I do not want someone to interrupt the script while it is running. Disabling the keyboard and mouse would take care of that. Any ideas? Thanks in advance... Brian Link to comment Share on other sites More sharing options...
randd Posted August 6, 2004 Share Posted August 6, 2004 Hello: I am new to AutoIT v3, and I am very impressed. I was wondering if it is possible to disable the keyboard and mouse while a script is running? Currently, I have a script that customizing Windows, and I do not want someone to interrupt the script while it is running. Disabling the keyboard and mouse would take care of that. Any ideas? Thanks in advance... Brian <{POST_SNAPBACK}>Uh, hmm. Try looking at the Function Reference portion of the compiled html help file. You'll find the answer in there - in short Yes. Good luck! Raoul S. Duke: Few people understand the psychology of dealing with a highway traffic cop. Your normal speeder will panic and immediately pull over to the side. This is wrong. It arouses contempt in the cop-heart. Make the bastard chase you. He will follow. Link to comment Share on other sites More sharing options...
blich Posted August 6, 2004 Author Share Posted August 6, 2004 Uh, hmm. Try looking at the Function Reference portion of the compiled html help file. You'll find the answer in there - in short Yes. Good luck! <{POST_SNAPBACK}>Ahhh, I didn't see the BlockInput function before. Thanks for forcing me to take another look. Since you cannot pass the ALT key when that is enabled, how do you workaround that? I would assume you could turn off the BlockInput send the ALT key and then turn it back on. Is there a better way? Thanks again... Brian Link to comment Share on other sites More sharing options...
Administrators Jon Posted August 6, 2004 Administrators Share Posted August 6, 2004 Hello: I am new to AutoIT v3, and I am very impressed. I was wondering if it is possible to disable the keyboard and mouse while a script is running? Currently, I have a script that customizing Windows, and I do not want someone to interrupt the script while it is running. Disabling the keyboard and mouse would take care of that. Any ideas? Thanks in advance... Brian BlockInput() Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
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