Compare commits
2 Commits
f15d3ed2f0
...
e32fe026e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e32fe026e9 | ||
| 981051a9e8 |
@@ -35,10 +35,9 @@ SaveOrPostProgress(Message:="",PostType:=""){
|
||||
if(InStr(PostType, "Tooltip")){
|
||||
TooltipThis(Message)
|
||||
}
|
||||
/* if(InStr(PostType, "ErrorLoggingTextFile")){
|
||||
if(InStr(PostType, "ErrorLoggingTextFile")){
|
||||
Func_LogErrorsToTextFile(Message)
|
||||
}
|
||||
*/
|
||||
if(InStr(PostType, "ErrorSummaryVar")){
|
||||
Func_LogErrorsToVar(Message)
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
URLDownloadToVar(url){
|
||||
|
||||
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
|
||||
hObject.Open("GET",url)
|
||||
|
||||
try hObject.Send()
|
||||
try {
|
||||
hObject.Send()
|
||||
}
|
||||
catch e {
|
||||
; MsgBox, 4096, Error, Failed to connect to:`n`n%url%`n`nAre you connected to the internet? Or is the website down?`n`nDisable Auto Update Check to disable this message.
|
||||
return ""
|
||||
; msgbox, failed!
|
||||
}
|
||||
|
||||
return hObject.ResponseText
|
||||
|
||||
Reference in New Issue
Block a user