Advertisement
Guest User

autostash

a guest
Nov 8th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global start_x := 1875
  2. global start_y := 610
  3. global step := 52
  4.  
  5. MoveRelative(x, y)
  6. {
  7.     MouseMove, x, y, 1, R
  8. }
  9.  
  10. MoveLeft(times)
  11. {
  12.     Loop, %times%
  13.     {
  14.         MoveRelative(-step, 0)
  15.         Send {LButton}
  16.     }
  17. }
  18.  
  19. MoveRight(times)
  20. {
  21.     Loop, %times%
  22.     {
  23.         MoveRelative(step, 0)
  24.         Send {LButton}
  25.     }
  26. }
  27.  
  28. MoveDown()
  29. {
  30.     MoveRelative(0, step)
  31.     Send {LButton}
  32. }
  33.  
  34. ^j::
  35.  
  36.     MouseMove, start_x, start_y, 3
  37.     Sleep, 500
  38.  
  39.     Send {Ctrl Down}
  40.    
  41.     Send {LButton}
  42.     MoveLeft(11)
  43.     MoveDown()
  44.     MoveRight(11)
  45.     MoveDown()
  46.     MoveLeft(11)
  47.     MoveDown()
  48.     MoveRight(11)
  49.     MoveDown()
  50.     MoveLeft(9)
  51.  
  52.     Send {Ctrl Up}
  53.  
  54. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement