Guest User

Untitled

a guest
Jun 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. InputBox, Columns,,How many columns are there?
  2. InputBox, Rows,,How many rows are there?
  3. MsgBox, 4, all,,Is it required to have all the possible choices selected?
  4. WinActivate, Firefox,,
  5. Sleep 4000
  6. if all = yes
  7. {
  8. tabct = %Columns%*%Rows%
  9. While tabct > 0
  10. {
  11. tabct--
  12. send {Tab}
  13. send {Space}
  14. }
  15. }
  16. If all = no
  17. {
  18. tabct = %Columns%*%Rows%
  19. SetFormat, Integer,D
  20. Random, rand,1,%Rows%
  21. while Mod(rand, Rows)
  22. {
  23. Random, rand,1,%Rows%
  24. }
  25. while tabct > 0
  26. {
  27. tabct--
  28. send {Tab}
  29. send {Space}
  30. }
  31. }
Add Comment
Please, Sign In to add comment