In Gui, I enter a password and run Putty with that password.
Simple applet but probably not for me yet.
My login is saved in the putty "mine" session
Code: Select all
Gui Color, 0x3299CC, 0xADEAEA,
Gui Font, s10 Bold
Gui Add, Edit, hWndhEdtValue x20 y5 w200 h22 -E0x200 vPass +Password +Center -VScroll
SendMessage 0x1501, 1, "Password",,ahk_id %hEdtValue%
Gui, Add, Button, X50 y30 w100 h22 GBut, Putty
Gui, +Hwndgui_id
Gui Show, x800 y200 w250 h100, TEST
Gui, Submit, Nohide
Return
GuiClose:
ExitApp
But:
run, c:\Program Files\Putty\putty.exe -load mine -pw %Pass%
Return