thanhvu909x Posted March 18, 2021 Share Posted March 18, 2021 Please Help me code auto it screen swipe. I try to code screen swipe but not success. I use this code but it' cannot swipe my device. _SendMessage($hWnd, $WM_MOUSEMOVE, 0, _WinAPI_MakeLong($x1, $y1)) _SendMessage($hWnd, $WM_LBUTTONDOWN, 1, _WinAPI_MakeLong($x1, $y1)) Sleep(100); _SendMessage($hWnd, $WM_MOUSEMOVE, 1, _WinAPI_MakeLong($x2, $y2)) _SendMessage($hWnd, $WM_LBUTTONUP, 0, _WinAPI_MakeLong($x2, $y2)) Link to comment Share on other sites More sharing options...
Musashi Posted March 18, 2021 Share Posted March 18, 2021 (edited) Since it was obviously too cumbersome for you to deliver a runable code, here just a link : https://www.autoitscript.com/forum/topic/198659-wm_mousemove-not-moving/ Edited March 18, 2021 by Musashi typo "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." 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