Jump to content

BlockInput


Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

Switch to ControlSend()/ControlClick().

Edit:

:whistle: Helge beat me to the idea :)

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

Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...