Skip to content

Instantly share code, notes, and snippets.

@DerEnderKeks
Created July 10, 2018 13:47
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 DerEnderKeks/e96520c830bdb9447f3eff33ed93661d to your computer and use it in GitHub Desktop.
Save DerEnderKeks/e96520c830bdb9447f3eff33ed93661d to your computer and use it in GitHub Desktop.
Automatically login to League of Leagends
; This AutoHotkey script automatically enters your League of Leagends password as soon as you press <CTRL>+<y> in the LOL client.
; You probably have to change the position for the mouse click if your LOL windows isn't set to 1920x1080.
#NoTrayIcon
#SingleInstance, force
#UseHook
#IfWinActive, ahk_class RCLIENT
^y::
SendMode Event
CoordMode, Mouse, Window
MouseClick, left, 1650, 375
Sleep, 50
pass := "yourpasswordhere"
Send, {CtrlDown}a{CtrlUp}{BackSpace}
Send, %pass%{ENTER}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment