-
Posts
140 -
Joined
-
Last visited
Community Answers
-
mrflibblehat's post in Help With _ArraySearch was marked as the answer
Tried that which resulted in error 4
4 - $iStart is greater than $iEnd
Thanks for the suggestion though.
Fixed it now though, my bad, should have done some more reading.
$iForward [optional] If set to 0, searches the array from end to beginning (instead of beginning to end)
-
mrflibblehat's post in Reading from traytip was marked as the answer
I managed to fix this by reading the system event log, I will post the code when i'm done
Thank you for your suggestions
-
mrflibblehat's post in PortQry.exe Script failing need help... was marked as the answer
Does the below work.
$vComputer = "127.0.0.1" ;~ IP of Host Run("portqry.exe -n " & $vComputer & " -e 3389 -l PortQuery-Log.txt", @ScriptDir) -
mrflibblehat's post in Getting Text HTML was marked as the answer
$chg will return an array.
I also notice that $fix does not have any such source code in. Maybe this is served up client side in the browser by javascript. not so sure how that works.
Best I can suggest is
$src = BinaryToString(InetRead("https://www.google.dz/")) $chg = StringRegExp($src,'"srch"\:"(.*?)"', 3) MsgBox(0,"",$chg[0]) -
mrflibblehat's post in using HTTPSendrequest in AutoIT was marked as the answer
I dont think there is any point re-inventing the wheel.
for POST and GET requests have a look at '?do=embed' frameborder='0' data-embedContent>>
-
mrflibblehat's post in Search in a string / position was marked as the answer
Or you could use _ArraySearch
#include <Array.au3> $vString = "Auto|it|is|funny|sometime" $vArray = StringSplit($vString, "|") $vArraySearch = _ArraySearch($vArray, "funny") ConsoleWrite($vArraySearch) -
mrflibblehat's post in Error parsing function call in 2d array... was marked as the answer
Local $Spielfeld[9][10] For $i = 8 to 0 step -1 For $j = 0 to 9 $Spielfeld[$i][$j] = 0 Next Next -
mrflibblehat's post in Appending specific clipboard string to a text file was marked as the answer
I believe the array will need a parameter. try
FileWriteLine($file, $aArray[0] & @CRLF) Or
Local $file = FileOpen("temp.txt", 1) ; Check if file opened for writing OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf For $i = 0 to UBound($aArray) -1 FileWriteLine($file, $aArray[$i] & @CRLF) Next FileClose($file)