Jump to content
Sign in to follow this  
supersonic

Simulate BlockInput via _WinAPI_SetWindowsHookEx

Recommended Posts

supersonic

Hi -

as AutoIt help file describes BlockInput works with Windows Vista+ only with the help of #RequireAdmin - I've tested it: Confirmed. This is sad news for me.

Any change to simulate BlockInput via _WinAPI_SetWindowsHookEx($WH_KEYBOARD_LL, ...) ???

Or is there any other way to send (~ redirect) keystrokes to "/dev/null"?

Share this post


Link to post
Share on other sites
AdamUL

Here is a good example script, to do what you would like to do.  It does not need #RequireAdmin.  

 

Adam

 

Share this post


Link to post
Share on other sites
supersonic

AdamUL,

thank you very much - this is very helpful :)

 

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  

×