Skip to content

Instantly share code, notes, and snippets.

@EntranceJew
Created March 12, 2018 00:48
Show Gist options
  • Save EntranceJew/5db87a294e6365a8d2719c2cbae1a551 to your computer and use it in GitHub Desktop.
Save EntranceJew/5db87a294e6365a8d2719c2cbae1a551 to your computer and use it in GitHub Desktop.
using autohotkey to get around one-time setup of dumb shit
; note: ~ is the name of my cygwin terminal
WinActivate, ~
WinWaitActive, ~
; even though your password will be interpreted literally
; autohotkey it will still process the entire file for being a valid script before it executes
; so if your password contains % then you need to escape it with ` in order to not make it process it as a variable name
; or if your password contains ` then you may need to escape it with another `
; read more: https://autohotkey.com/docs/commands/Send.htm
SendInput {Raw}YourLiteralPasswordHere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment