AutoHotkey PuTTY restart session shortcut

A handy AutoHotkey snippet to restart a PuTTY session after it gets disconnected, press Ctrl + R in the session to restart. More ids for putty shortcuts can be found here. if WinActive(“ahk_class PuTTY”) { ^r:: ; ^r = Ctrl + R TrayTip, PuTTY, Restarting Session… WinGet, process, processName, % “ahk_id” hwnd := hwnd? hwnd:WinExist(“A”) WinGetClass […]