Jump to content

Help me code auto it screen swipe


Recommended Posts

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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...