Jump to content

Recommended Posts

Posted

I've found some references out on the web to AutoIt being able to disable input from the keyboard/mouse during a VBScript execution. These same references talk about having to register a DLL, the AutoITx3.dll and then use the following code snippet:

Set oAutoIt = CreateObject("AutoItX.Control")

oAutoIt.BlockInput "on"

When I run this VBScript using the WSH, I get "ActiveX Component can't create object: 'AutoITX.Control'"

Any thoughts on what I've possibly done wrong?

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
  • Recently Browsing   0 members

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