Skip to content

Instantly share code, notes, and snippets.

@aveao
Created March 5, 2016 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aveao/09c8760a954484dce186 to your computer and use it in GitHub Desktop.
Save aveao/09c8760a954484dce186 to your computer and use it in GitHub Desktop.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Numpad1::
$stop := 0
Loop,
{
SendInput abcdefghijklmnopqrstuvwxyz
Sleep 50
if ($stop)
{
return
}
}
Numpad2:: $stop := 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment