Jump to content

Neat

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Neat

  1. Just for the record, the ping problem couldn't be solved (apparently ping and VPN/proxy work hardly together?) BUT, I did solve the following problem : with : $oHTTP.SetProxy(2,"ip_address_of_my_proxy")
  2. Indeed if it doesn't work with cmd it's not autoit related, thanks a lot for your answer ! Have a good day !
  3. Thank you Jos for your quick answer ! The name is "Check Point Mobile". The proxy is set to "detect proxy from IE settings" Oh ! I just checked and it also fails.
  4. Hi everyone, I have a problem that I already had in the past and I didn't find any solution on this forum. Whenever I activate my VPN, I cannot use my internet connection anymore through scripts. For example, without VPN when I do : Ping("www.google.com") it works properly. With VPN ON when I do : Ping("www.google.com") I have @error = 2. I do have an internet connection though because if I manually launch google chrome i can go on google. Same error when I try to do calls with "WinHttp.WinHttpRequest.5.1" => $oHTTP.Send() doesn't respond. It looks like autoit isn't able to use the VPN connection properly. Does anyone know what's going on? Thank you !
  5. Here's a function to avoid the issue (also allows a non-blocking msgbox). It's an ugly version but I'm sure you guys will improve it Func MsgBox_ext($type = 0, $title = "", $txt = "", $block = 1) $txt = StringRegExpReplace($txt, "('|" & '")', "$1$1") $type = StringRegExpReplace($type, "('|" & '")', "$1$1") $title = StringRegExpReplace($title, "('|" & '")', "$1$1") If $block <> 1 Then Return Run(@AutoItExe & ' /AutoIt3ExecuteLine "' & "MsgBox('" & $type & "','" & $title & "','" & $txt & "')" & '"') Else Return RunWait(@AutoItExe & ' /AutoIt3ExecuteLine "' & "Exit(MsgBox('" & $type & "','" & $title & "','" & $txt & "'))" & '"') EndIf EndFunc ;==>MsgBox_ext
  6. Thank you all for your answers, and sorry for posting on the wrong forum, that's my first post. Do I need to do anything for the devs to know about it? Or you guys handle that? Btw my guess was : whenever the script display something (even once) it suddenly gets different from a "classical script" (as you said different hooks etc), maybe windows 7 manages to get back to a classic execution, and windows 10 doesn't. Knowing that, executing the msgbox through another script solves it, thanks for your trick ! I hope it's gonna be solved soon (or a work around) because it means you can never have both a quick script and displaying windows on windows 10..
  7. Hi everyone. I noticed something very weird on my windows 10 computer. When the script isn't "graphic" (no msgbox, inputbox, gui etc), the script is relatively fast. Whenever a script becomes "graphic" (a msgbox was launched) its execution is then 6 times slower. Here are the results of the execution of this script : $x=0 $start=TimerInit() for $i=1 to 500000 $x+=1 Next MsgBox(0,"",TimerDiff($start)) ;160ms => becoming slower now because of the msgbox $start=TimerInit() $x=0 for $i=1 to 500000 $x+=1 Next MsgBox(0,"",TimerDiff($start)) ;1300ms I tried on my windows 7 computer and the bug isn't there. I tried everything and it really comes to this => whenever something graphic has been prompted, even if it's over, the script is way slower then. Can someone try to reproduce this? And how do I report a bug?
×
×
  • Create New...