Jump to content
Sign in to follow this  

Bypass inputs on one window

Recommended Posts


Hi, I wonder if you know how can I do to disable inputs for a targeted windows, I want that my keyboard and mouse doesn't work, but I still want ot be able to send mouse and keyboard clics trough autoit..

That way, I can still use my keyboard or my mouse on any other window.

Thanks in advance.

I need to set a state, like @SW_DISABLE, but which would still being able to recieve keys sent from my program, and only trough it.

Otherwise, if you have any idea about how to bypass the mouse and only it, if it's easier...

Edit, maybe by setting a hook, someone can help me to do that ?

Edited by arkane

Share this post

Link to post
Share on other sites

i admit i don't have much knowledge about autoit, but i did notice one thing:

when send() is used, it will magestically block (or mess up)all other keyboard input (on my computer at least)

so, when the time is needed, simply unlock the keyboard (or mouse) for the soul purpose of inputting the message, and then lock it up again.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.