Advertisement
Guest User

SpamKey

a guest
Jan 20th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.48 KB | None | 0 0
  1. #Include <misc.au3>
  2.  
  3. ;devnull
  4. ;Hex(32) - numero 2
  5. ;Hex(33) - numero 3
  6. ;Hex(34) - numero 4
  7. ;HHex(5A) - tasto Z
  8. ;$cnt = numero di volte che viene spammato il tasto
  9.  
  10. While 1
  11.     GUIGetMsg()
  12.         While _IsPressed(Hex(5A))
  13.             BlockInput(1)
  14.             Sleep(2000)
  15.             $cnt = 10 ;cambia questo valore per spammare il tasto spazio per più di 10 volte.
  16.             Send("{SPACE " & $cnt-1 & "}")
  17.             Sleep(2000)
  18.         WEnd
  19.             BlockInput(0)
  20. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement