Advertisement
Guest User

Untitled

a guest
Jun 21st, 2023
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | Source Code | 0 0
  1. !1::{
  2.  
  3. ;index is number of logical terminals
  4. index_end := 60
  5. delay := 300
  6. index := Number(index_end) // 2
  7.  
  8. Loop(index)
  9. {
  10. Send "{F2}"
  11. Send(A_Index)
  12. Send "{Down}"
  13. Sleep delay
  14.  
  15. Send "{F2}"
  16. Send(A_Index)
  17. Send "{Down}"
  18. Sleep delay
  19.  
  20. }until A_Index == index_end
  21.  
  22.  
  23. Send "{Right}"
  24.  
  25. Loop(index)
  26. {
  27. Send "{F2}"
  28. Send "2"
  29. Send "{Up}"
  30. Sleep delay
  31.  
  32. Send "{F2}"
  33. Send "1"
  34. Send "{UP}"
  35. Sleep delay
  36.  
  37. }until A_Index == index_end
  38.  
  39.  
  40.  
  41.  
  42.  
  43. MsgBox("Task completed")
  44. }
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement