SHARE
TWEET

AutoHotkey script

essam31 Jul 17th, 2018 (edited) 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Esc::
  2. BreakLoop = 1
  3. return
  4.  
  5. #ifWinActive, Kodi
  6.  
  7. ^+s::
  8. InputBox, Episodes, How Many Episodes?, How Many Episodes?`nScript will execute when you press OK.`nPress Esc key to stop execution early.`nDo NOT move mouse while script is executing!
  9. BreakLoop = 0
  10. WinActivate, Kodi
  11. WinWaitActive, Kodi
  12. MouseMove 0,0,0
  13. BlockInput, MouseMove
  14. Sleep 500
  15. Send {PgUp}
  16. Tooltip, Processing...Press Esc to Cancel
  17. Loop, %Episodes%
  18. {
  19.     if (BreakLoop = 1)
  20.         break
  21.     Send {Down}
  22.     Sleep 100
  23.     Send {Enter}
  24.     Sleep 10000
  25. }
  26. Tooltip
  27. BlockInput, MouseMoveOff
  28. return
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top