aa2zz6 24 Posted October 27, 2015 (edited) How would you move mouse inside GUI using coodinates? I used coordinate mode > Window] to get the coodinate for inside the GUI. The problem is that the mouse doesn't move inside when it's executed.The AutoIt v3 Window Info:Title: ExampleClass: AutoIt v3 GUI#include <GUIConstantsEx.au3> Example() Func Example() ; Create a GUI with various controls. Local $hGUI = GUICreate("Example", 300, 200) ; Display the GUI. GUISetState(@SW_SHOW, $hGUI) Local $iPID = 0 MouseMove(156,98,1) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd ; Delete the previous GUI and all controls. GUIDelete($hGUI) ; Close the Notepad process using the PID returned by Run. If $iPID Then ProcessClose($iPID) EndFunc ;==>Example Edited October 27, 2015 by aa2zz6 Share this post Link to post Share on other sites
JLogan3o13 1,624 Posted October 27, 2015 Hi @aa2zz6, try Option MouseCoordMode "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Share this post Link to post Share on other sites
jdelaney 313 Posted October 27, 2015 (edited) First off, make sure your window is active, and then include this at the top of your script:AutoItSetOption("MouseCoordMode",2) Edited October 27, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Share this post Link to post Share on other sites
aa2zz6 24 Posted October 27, 2015 Thanks for the feedback. Works now! Share this post Link to post Share on other sites