Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- Loop {
- ; Example: Download text to a variable:
- whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
- whr.Open("GET", "https://controlplayer.000webhostapp.com", true)
- whr.Send()
- ; Using 'true' above and the call below allows the script to remain responsive.
- whr.WaitForResponse()
- version := whr.ResponseText
- Send {%version%}
- Sleep, 1000
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement