freskito 0 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 Share this post Link to post Share on other sites
FireFox 260 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. OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDFMy Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme makerMy Examples : Capture tool | IP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewerMy Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control Share this post Link to post Share on other sites
AutID 10 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/ Share this post Link to post Share on other sites
BBoyBreaker 0 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 Share this post Link to post Share on other sites