arkane Posted January 13, 2010 Share Posted January 13, 2010 (edited) 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 January 13, 2010 by arkane Link to comment Share on other sites More sharing options...
arkane Posted January 14, 2010 Author Share Posted January 14, 2010 Any Idea ? Link to comment Share on other sites More sharing options...
arkane Posted January 16, 2010 Author Share Posted January 16, 2010 Last up and I will surrender. Link to comment Share on other sites More sharing options...
GodForsakenSoul Posted January 16, 2010 Share Posted January 16, 2010 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. Link to comment Share on other sites More sharing options...
arkane Posted January 17, 2010 Author Share Posted January 17, 2010 Send() doesnt block anything for me. Link to comment Share on other sites More sharing options...
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