renehasp 0 Posted February 14, 2005 Share Posted February 14, 2005 I want to create a software install script. But I want to some how disable the mouse and keyboard so the user can't stop it. A. Lock the mouse and keyboard B. Run my Software Install Script C. Unlock the Mouse and Keyboard Can this be done with auto it? Thanks Rene Link to post Share on other sites
MHz 83 Posted February 14, 2005 Share Posted February 14, 2005 Welcome. Yes. BlockInput () does this. It is list in the help guide that is with the install. You should just need Blockinput(1) at the start of the script, and Blockinput(0) at the end of it. Link to post Share on other sites
Insolence 2 Posted February 14, 2005 Share Posted February 14, 2005 BlockInput(1) ;Do your script here BlockInput(0) Need me to explain it? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to post Share on other sites
Andre 0 Posted February 14, 2005 Share Posted February 14, 2005 ; Disable Mouse & Keyboard input during installation. If @OSVersion <> "WIN_98" Or @OSVersion <> "WIN_ME" Then BlockInput(1) EndIf won't work in these versions See help file for details What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to post Share on other sites
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