Jump to content
Sign in to follow this  

Disable Keyboard in VBScript

Recommended Posts

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?

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...