Jump to content

Hell4Ge

Members
  • Posts

    13
  • Joined

  • Last visited

Hell4Ge's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I mean the LAN Connection, it can be also done by turn off/on Ethernet driver in Device Manager Maybe some CMD command?
  2. $a = 10 If not $a = 5 Then MsgBox(0, "TADAAAM!", "TADAAAAM!") EndIf MsgBox did not show So I think that maybe sth is wrong with my brain, but when I asked myself for: - I am drunk? - DId I take the drugs? - Did some1 hit my head with lantern? - Did some dragons / aliens fly over the red lights at crossroad yesterday? Nope, I dont think so The summary is: What the hell is wrong with this code? NVM My brain is okay, my reading skills are dead at now BOOLEAN FCK YEAH!
  3. Like in C++ that was pretty easy (string a="asdsd"; // a[4]='d'), that I cant make it to work in AU Any ideas?
  4. http://msdn.microsoft.com/en-us/library/windows/desktop/ms644950%28v=vs.85%29.aspx You ve to send WM_LBUTTON message http://msdn.microsoft.com/en-us/library/windows/desktop/ms645608%28v=vs.85%29.aspx I am sure, that it will be hard for you, if you didnt code in C lang before
  5. Does HttpSetProxy works with InetGet / InetRead? or i must use _IE to work with proxies?
  6. #RequireAdmin #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 Sleep ( 250 ) If _IsPressed(0x05, $dll) Then MsgBox(0,"_IsPressed", "End Key Pressed") ExitLoop EndIf WEnd DllClose($dll) I tried to check it also in C++ in VS11 Beta
  7. Why should I use _IE functions for read HTML and other things, when I can use InetRead? I think InetRead is much faster, cuz _IE function require to turn Internet Explorer (Hidden or not)
  8. When you wrote "timer" how stiupid I was =] new code $temp = 0 $timer = TimerInit() $t_verf = 1500 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _Switch() Case $Button2 _ClearConfig() Case $Button3 _ByPass() EndSwitch If $temp = 0 Then _ServerStatus() $temp = $temp + 1 EndIf $t_diff = TimerDiff($timer) If $t_diff / 2 > $t_verf Then _ServerUpdate() ConsoleWrite($t_diff & @CRLF) $t_verf = $t_verf + 1500 EndIf WEnd Thx
  9. This is cause of freezes... i cant write fluently and i need to put all stuff into loop because I am updating 2 lables colors (its checking server status - Online is green, Offline is blue, I am using InetRead for this) If Server offline Then PaintRed ofc I added more ifs and temp vars to avoid label-blinks
  10. While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _Switch() Case $Button2 _ClearConfig() Case $Button3 _ByPass() EndSwitch If $temp = 0 Then _ServerStatus() $temp = $temp + 1 EndIf _ServerUpdate() Sleep(1000) WEnd My buttons wont work if I set Sleep command, If i dont, then program will be lagging as hell _ServerUpdate() ve InetRead etc. inside
×
×
  • Create New...