Jump to content
Sign in to follow this  

BlockInput on Win7

Recommended Posts

I am attempting to use BlockInput so that the user cant disrupt mouse movent performed by AutoIt.

This is my code: (for testing functionality)

WinWaitActive("User Account Control","Change when these")
ControlClick("[ACTIVE]", "Change when these", "[CLASSNN:Button2; TEXT:&Yes; INSTANCE:2]")   ;<-----Got this infor from AutoIt Info

The problem is (On Win7) is that the "User Account Control" window pops up and the line "#RequireAdmin" does not finish until the "Yes" button (or "No" button) is clicked.

If I cant interact with the window, or disable it, then "BlockInput" is useless.

Does anyone know of a work around for this??


Edited by AutoitMike

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  

  • Create New...