this is the code section where the problem occurs
Code: Select all
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", "https api.telegram.org /bottoken/getupdates", Broken Link for safety true)
whr.Send()
; Using 'true' above and the call below allows the script to remain responsive.
whr.WaitForResponse()
version := whr.ResponseText
How can i fix that ? thank you guys!
Edit ( im looping the code with a Gosub at the end of the code )