Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2024
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #Requires AutoHotkey v2.0
  2. #include .\UIA-v2-main\Lib\UIA.ahk
  3.  
  4. while WinExist("WABBAJACK")
  5. {
  6. if WinExist("Browser Window")
  7. {
  8. downloadWindowEl := UIA.ElementFromHandle("Browser Window ahk_exe Wabbajack.exe")
  9. try
  10. {
  11. downloadWindowEl.FindElement({Type:"Button",Name:"SLOW DOWNLOAD"}).Click() ; Try invoking download button
  12. }
  13. catch
  14. {
  15. sleep 1000
  16. }
  17. else
  18. {
  19. sleep 8000
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement