Guest User

Untitled

a guest
Nov 23rd, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #SingleInstance, force
  2.  
  3. Path = C:\putty.exe
  4. IP = IP
  5. User = Instance User
  6. Pass = Instance Pass
  7. Directory = Repo Directory
  8. GitUser =
  9. GitPass =
  10. Origin = origin
  11. Master = master
  12.  
  13. ;~ ^t::
  14. run %Path%
  15. WinWaitActive, PuTTY Configuration ahk_class PuTTYConfigBox ahk_exe putty.exe
  16. send %IP%
  17. send !o
  18. WinWaitActive, %IP% - PuTTY ahk_class PuTTY ahk_exe putty.exe
  19. Sleep 500
  20. send %User%{enter}
  21. Sleep 500
  22. send %Pass%{enter}
  23. Sleep 500
  24. send cd %Directory%{enter}
  25. Sleep 500
  26. send sudo git pull %Origin% %Master%{enter}
  27. Sleep 500
  28. send %User%{enter}
  29. Sleep 500
  30. send %GitUser%{enter}
  31. Sleep 500
  32. send %GitPass%{enter}
  33. Sleep 500
  34. ExitApp
  35. return
  36.  
  37.  
  38.  
  39.  
  40. F5::
  41. Send ^s
  42. sleep 100
  43. Reload
  44. return
Add Comment
Please, Sign In to add comment