iwak Posted December 8, 2014 Posted December 8, 2014 (edited) Hello. It is possible to simulate mouse moving on web page in IE, without really cursor moving? Something like this: $oIE.document.mousemove(100, 100) $oIE.document.mousemove(110, 110) etc.. or $spans = _IETagNameGetCollection($oIE, "span") for $span in $spans If isobj($span) Then sleep(10) $span.mousemove() EndIf Next ? Edited December 9, 2014 by SmOke_N removed annoying mouse cursor attachment
Moderators SmOke_N Posted December 8, 2014 Moderators Posted December 8, 2014 #include <WindowsConstants.au3> #include <WinAPI.au3> _WinAPI_PostMessage() WM_MOUSEMOVE _WinAPI_MakeLong() Something like: _WinAPI_PostMessage("window client hwnd here", $WM_MOUSEMOVE, 0, _WinAPI_MakeLong("x start position here", "y start position here")) _WinAPI_PostMessage("window client hwnd here", $WM_MOUSEMOVE, 0, _WinAPI_MakeLong("x end position here", "y end position here")) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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