viewing paste Unknown #57130 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#MaxThreadsPerHotkey 2
 
 
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
 
1::
toggle :=! toggle
Sleep 1000
 
While, (toggle) {
  SendInput, {Down down}
  Sleep 1000
  SendInput, {Down Up}
  Sleep 1000
}
 
return
Viewed 889 times, submitted by Guest.