anony10 Posted March 8, 2014 Posted March 8, 2014 (edited) Hi guys! I would like to send clicks to a minimized window, which I successfully accompolished but I have a problem. My problem is that every time a click has been sent to the window, the window maximizes itself (therefore making it active) which is quite annoying. I tried hiding it and everything, but i just cant make it so that it doesnt maximize or active itself everytime something happens in the window. Any suggestions? Opt("WinTitleMatchMode", 2) opt("caretcoordmode", 1) hotkeyset("{f2}", "handle") while 1 sleep(1) WEnd func handle() $handle = wingethandle("XY") while 1 sleep(5000000) controlclick("XY", "", $handle, "left", 1, 297, 484) wend endfunc I looked at similar forums, but I couldnt find anything similar to this. Thanks Edited March 8, 2014 by anony10
FireFox Posted March 8, 2014 Posted March 8, 2014 Hi,I'm thinking of a solution, but unfortunately it's not possible in AutoIt as it requires a DLL.The idea is to subclass the window proc and to block the activate event.Br, FireFox.
anony10 Posted March 8, 2014 Author Posted March 8, 2014 Thanks for your help, but unfortunately I dont think I am able to do that on my own, as I dont even know how that is possible. Thanks anyways.
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