Advertisement
Guest User

dgsdfsdf

a guest
Aug 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. Loop {
  7. ; Example: Download text to a variable:
  8. whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
  9. whr.Open("GET", "https://controlplayer.000webhostapp.com", true)
  10. whr.Send()
  11. ; Using 'true' above and the call below allows the script to remain responsive.
  12. whr.WaitForResponse()
  13. version := whr.ResponseText
  14. Send {%version%}
  15. Sleep, 1000
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement