Jump to content

mitchell12388

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by mitchell12388

  1. Sorry I meant to quote this in my last post... also thanks That first script you posted looks much cleaner I'll have to give it a try it's not copyright??
  2. Nothing was failing this was working great the way it was it was just using more memory that i thought it should!
  3. I hadn't compiled at x86 since i noticed that difference i waited for your response. before stopping again it was at 5,068 K so i now found the full version in my help file v3.3.14.5 and this was after I right clicked and compiled for x86
  4. Windows 7 X64 Autoit 3 SciTE-Lite Version 3.5.4 and before I recompiled i wanted to check so i closed the instance that had been up for 14 days and ran from my old .exe started with 3684K
  5. Sorry this is my first time ever asking for help on a forum would a speccy report and screenshots of the compiling options be sufficient?
  6. mine has been running for 2 weeks solid could that be the cause?
  7. Just seems high for the simplicity of the program
  8. I would like to start by saying that I have no training in any sort of coding i taught myself bat files then several years ago I was attempting to do something more complex with a bat that's how I found Autoit. that being said please don't make to much fun of me if this code is just ridiculous. I believe the "program" is using to much memory for what it is so I decided to create a forum account to ask about it. Thanks in advance! #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Outfile_x64=NL.exe #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_Res_Fileversion=1.3.0.3 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Add_Constants=n #AutoIt3Wrapper_Run_Tidy=y #AutoIt3Wrapper_Tidy_Stop_OnError=n #AutoIt3Wrapper_Run_Au3Stripper=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Opt("TrayAutoPause", 0) If FileExists("C:\NetLog") = 0 Then DirCreate("C:\Netlog") EndIf While 1 $b = "NA" $a = Ping("1.1.1.1") FileOpen("C:\NetLog\Net " & @MON & "-" & @MDAY & "-" & @YEAR & ".txt", 1) If $a = 0 Then $b = Ping("8.8.8.8") If $b = 0 Then FileWriteLine("C:\NetLog\Net " & @MON & "-" & @MDAY & "-" & @YEAR & ".txt", "FAILED " & @MON & "-" & @MDAY & "-" & @YEAR & " " & @HOUR & ":" & @MIN & ":" & @SEC) EndIf Else FileWriteLine("C:\NetLog\Net " & @MON & "-" & @MDAY & "-" & @YEAR & ".txt", "MS: A=" & $a & " B=" & $b & " " & @MON & "-" & @MDAY & "-" & @YEAR & " " & @HOUR & ":" & @MIN & ":" & @SEC) EndIf FileClose("C:\NetLog\Net " & @MON & "-" & @MDAY & "-" & @YEAR & ".txt") Sleep(60000) WEnd
×
×
  • Create New...