Global $hCmdWnd, $aCmdPoss
$hCmdWnd = WinGetHandle("[CLASS:Command Prompt]")
If Not WinActive($hCmdWnd) Then WinActivate($hCmdWnd);
$aCmdPos = WinGetPos($hCmdWnd)
MouseClick("right", $aCmdPos[0] + 15, $aCmdPos[1] + 40, 1, 0);
Send("{DOWN 4}{ENTER 2}")
I took above script from somebody's post.In the mouse click can any body tell me how they calculate the x,y position?
$hCmdWnd = WinGetHandle("[CLASS:Command Prompt]")
If Not WinActive($hCmdWnd) Then WinActivate($hCmdWnd);
$aCmdPos = WinGetPos($hCmdWnd)
MouseClick("right", $aCmdPos[0] + 15, $aCmdPos[1] + 40, 1, 0);
Send("{DOWN 4}{ENTER 2}")
I took above script from somebody's post.In the mouse click can any body tell me how they calculate the x,y position?