#IfWinActive Connect to page ahk_class #32770 ^!q:: ControlSetText, edit2, username,A ControlSetText, edit3, password,A ControlClick, button3,A Return #IfWinActive #https://www.autohotkey.com/board/topic/41884-userpass-authentication-pop-up/