Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance, force
- Path = C:\putty.exe
- IP = IP
- User = Instance User
- Pass = Instance Pass
- Directory = Repo Directory
- GitUser =
- GitPass =
- Origin = origin
- Master = master
- ;~ ^t::
- run %Path%
- WinWaitActive, PuTTY Configuration ahk_class PuTTYConfigBox ahk_exe putty.exe
- send %IP%
- send !o
- WinWaitActive, %IP% - PuTTY ahk_class PuTTY ahk_exe putty.exe
- Sleep 500
- send %User%{enter}
- Sleep 500
- send %Pass%{enter}
- Sleep 500
- send cd %Directory%{enter}
- Sleep 500
- send sudo git pull %Origin% %Master%{enter}
- Sleep 500
- send %User%{enter}
- Sleep 500
- send %GitUser%{enter}
- Sleep 500
- send %GitPass%{enter}
- Sleep 500
- ExitApp
- return
- F5::
- Send ^s
- sleep 100
- Reload
- return
Add Comment
Please, Sign In to add comment