Sign in to follow this  
Followers 0
lafafmentvotre

BlockInput

9 posts in this topic

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

:whistle::)

Share this post


Link to post
Share on other sites



Are you trying to make a virus?


Random

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Can't you use ControlSend, ControlSetText or similar functions instead ?

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Switch to ControlSend()/ControlClick().

Edit:

:whistle: Helge beat me to the idea :)

Edited by SmOke_N

[center]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.[/center]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

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


[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Go for msi. I prefer that anyway.

Share this post


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
Sign in to follow this  
Followers 0