freskito Posted February 13, 2014 Share Posted February 13, 2014 (edited) When I use MouseMove around the window it moves perfectly, but If i use MouseMove to open a minimized window, after it doesn't move anymore My simple code: MouseMove(523, 1059) MouseClick("left") MouseMove(92, 234) ;Doesn't do this movement MouseClick("left") ;And this click too Edited February 13, 2014 by freskito Link to comment Share on other sites More sharing options...
FireFox Posted February 13, 2014 Share Posted February 13, 2014 Hi, You can use the WinSetState function with the @SW_RESTORE flag to restore the window, instead of using the Mouse* functions. Br, FireFox. Link to comment Share on other sites More sharing options...
AutID Posted February 14, 2014 Share Posted February 14, 2014 Or use a _SendMessage to send a click. However Firefox' solution is how you should normally do it https://iblockify.wordpress.com/ Link to comment Share on other sites More sharing options...
BBoyBreaker Posted February 14, 2014 Share Posted February 14, 2014 (edited) Enjoy MouseClick("left" , 523 , 1059) Sleep(3000) ; just to see it after 3 sec MouseClick("left" , 92 , 234) Edit * : i just notice u need to open minimized window and yes like they say use thishttp://www.autoitscript.com/autoit3/docs/functions/WinSetState.htm Edited February 14, 2014 by BBoyBreaker 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