Guest User

Untitled

a guest
Mar 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #Persistent
  2.  
  3. #NoEnv
  4. #SingleInstance force
  5. SetWinDelay, -1
  6. SetTitleMatchMode, 3
  7. SetControlDelay -1
  8.  
  9.  
  10. SetTimer, MonitorActiveWin, 150
  11. return
  12.  
  13.  
  14. MonitorActiveWin:
  15. ;~ TortoiseGit password 창이 나오는 경우 자동으로 암호 입력
  16. IfWinExist,TortoiseGitPlink ahk_class #32770,
  17. {
  18.  
  19. passwordV=MyPassword ; MyPassword 대신에 자신의 password 를 입력하세요.
  20. WinActivate
  21. Sleep, 100
  22. ControlSetText, Edit1, %passwordV%, TortoiseGitPlink ahk_class #32770
  23. Sleep, 100
  24. ControlClick, Button1, TortoiseGitPlink ahk_class #32770,, Left, 1, NA
  25. Sleep, 10
  26. }
  27. return
Add Comment
Please, Sign In to add comment