lafafmentvotre Posted March 1, 2007 Posted March 1, 2007 Hello I have a problem with BlockInput. It's matching with a lot of computers but some users can stop it by CTRL ALT SUPPR and kill my script. Is there any solutions to disable all keyboard/mouse actions during the script ? The computers runs on W2K, WXPSP1 and WXPSP2 Thanks for help and sorry for my english
lafafmentvotre Posted March 1, 2007 Author Posted March 1, 2007 Hi No of course. I just want to deploy a software with Send("keys") and i want to be shure there will have no interactions by users during this script.
Helge Posted March 1, 2007 Posted March 1, 2007 Can't you use ControlSend, ControlSetText or similar functions instead ?
Moderators SmOke_N Posted March 1, 2007 Moderators Posted March 1, 2007 (edited) Switch to ControlSend()/ControlClick(). Edit: Helge beat me to the idea Edited March 1, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
lafafmentvotre Posted March 1, 2007 Author Posted March 1, 2007 Hello I can use use send("keys") or others actions but if a user send CTRL ALT SUPPR, he can stop my script and the install is wrong. I just want to block actions during a time and enable mouse and keyboard after.
Moderators SmOke_N Posted March 1, 2007 Moderators Posted March 1, 2007 HelloI can use use send("keys") or others actions but if a user send CTRL ALT SUPPR, he can stop my script and the install is wrong.I just want to block actions during a time and enable mouse and keyboard after.Ok... The short answer... No you can't.So what's the solution? Change your script using either silent installs or Control* functions, so your install doesn't get screwed.Another possibility... install when everyone goes home from work (assuming you are working for a company). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
lafafmentvotre Posted March 1, 2007 Author Posted March 1, 2007 I'm working in a company. if there are no solutions with blockinput i will try another one with msi installer or installshield. Thanks everybody for your help
jvanegmond Posted March 1, 2007 Posted March 1, 2007 I'm working in a company. if there are no solutions with blockinput i will try another one with msi installer or installshield.Thanks everybody for your helpGo for msi. I prefer that anyway. github.com/jvanegmond
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