Advertisement
Guest User

Untitled

a guest
Oct 5th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CoordMode, Mouse, Screen
  2.  
  3. /*
  4. 1 := 800, 330
  5. 2 := 880, 330
  6. 3 := 960, 330
  7. 4 := 1040, 330
  8. 5 := 1120, 330
  9. 6 := 800, 412
  10. 7 := 880, 412
  11. 8 := 960, 412
  12. 9 := 1040, 412
  13. 10 := 1120, 412
  14. 11 := 800, 490
  15. 12 := 880, 490
  16. 13 := 960, 490
  17. 14 := 1040, 490
  18. 15 := 1120, 490
  19. 16 := 800, 570
  20. 17 := 880, 570
  21. 18 := 960, 570
  22. 19 := 1040, 570
  23. 20 := 1120, 570
  24. 21 := 800, 650
  25. 22 := 880, 650
  26. 23 := 960, 650
  27. 24 := 1040, 650
  28. 25 := 1120, 650
  29. */
  30.  
  31. xses := [800,880,960,1040,1120,800,880,960,1040,1120,800,880,960,1040,1120,800,880,960,1040,1120,800,880,960,1040,1120]
  32. yses := [330,330,330,330,330,412,412,412,412,412,490,490,490,490,490,570,570,570,570,570,650,650,650,650,650]
  33.  
  34. FileReadLine, filereade, sequence.txt, 1
  35.  
  36. commands :=  StrSplit(filereade, ",")
  37.  
  38. for cube in commands {
  39.     MouseClick, Left, xses[commands[cube]], yses[commands[cube]], 1, 0
  40.     sleep, 200
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement