Guest User

Untitled

a guest
Jun 25th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. int x, y;
  2. POINT cursor;
  3. GetCursorPos(&cursor);
  4. x = cursor.x;
  5. y = cursor.y;
  6. mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
  7. mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
  8. Sleep(300);
  9. mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. }
  23.  
  24.  
  25.  
  26.  
  27. }
Add Comment
Please, Sign In to add comment