Skip to content

Instantly share code, notes, and snippets.

@codeonion
Created February 18, 2019 14:33
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 codeonion/088071c524b2e2f61f48fc95e4d02a1e to your computer and use it in GitHub Desktop.
Save codeonion/088071c524b2e2f61f48fc95e4d02a1e to your computer and use it in GitHub Desktop.
Toggle the Windows Sticky Keys using this Autohotkey macro
SearchString = Turn on easy access keys
^j::
TrayTip, Sticky Keys Macro, Toggling Sticky Keys, 2,1
Send, #u
Sleep, 1000
Send, %SearchString%
Send, {Enter}
Sleep, 1000
Send, {Enter}
Sleep, 1000
Send, {Tab}{Tab}{Space}
loop 13{
Send, {Tab}
}
Send, {Enter}
WinClose , Make the keyboard easier to use
Sleep, 200
WinClose , Settings
TrayTip, Sticky Keys Macro, Sticky keys are toggled successfully, 2,1
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment