fixed chrome/chromedriver downloading
parent
1962743565
commit
0b9b63b715
@ -1,6 +1,12 @@
|
|||||||
URLDownloadToVar(url){
|
URLDownloadToVar(url){
|
||||||
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
|
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
|
||||||
hObject.Open("GET",url)
|
hObject.Open("GET",url)
|
||||||
hObject.Send()
|
|
||||||
|
try hObject.Send()
|
||||||
|
catch e {
|
||||||
|
return ""
|
||||||
|
; msgbox, failed!
|
||||||
|
}
|
||||||
|
|
||||||
return hObject.ResponseText
|
return hObject.ResponseText
|
||||||
}
|
}
|
Loading…
Reference in New Issue