ITBassett Posted September 3, 2007 Posted September 3, 2007 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?
Richard Robertson Posted September 3, 2007 Posted September 3, 2007 It'd be easier just to call int BlockInput(int block) from user32.dll. That saves you the COM link if you only need one function.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now