Leaderboard
Popular Content
Showing content with the highest reputation on 01/30/2016 in all areas
-
This will return an array of all the variable names starting with $ #include <Array.au3> $File = FileOpenDialog('Au3 Var Searcher', @ScriptDir, 'Au3Files (*.au3)') $FileOpen = FileOpen($File) $FileRead = FileRead($FileOpen) FileClose($FileOpen) Search() Func Search() Local $aArray = StringRegExp($FileRead, '(\$[A-Za-z0-9_]+)[^A-Za-z0-9_]', 3) ConsoleWrite(' - '& $aArray[0] &' - '&@MSEC&@CRLF) _ArrayDisplay($aArray) EndFunc1 point
-
You might want to look through Guinness's sig. He has done a mountain of au3 parsing work. edit: as a quick and dirty you might try this pattern... Local $aArray = StringRegExp($FileRead, '(\$\w+)', 3)1 point
-
I'm working on a autoit anti deobfuscator, for this purpose I need the shortest possible code for reading a resource as a string. To make it compatible with any version of autoit. If it have any interest, I can release it when it's ready1 point
-
Fix missing Tooltips in Windows 10
argumentum reacted to martin for a topic
Tooltips can be made to work in W10 when an app is maximized if the maximum window size is set to be larger than the screen size. I added this information to post 1.1 point -
The maximum size for a line of script is 4095 characters. For example in your script "p", is 4 characters. 1896 of those 4 characters equals 7584 characters which is well beyond the limit for a line in a script. Note: The maximum number of elements for an array is 16,777,216. But only up to 65525 rows of an array can be displayed with _ArrayDisplay(). #include <Array.au3> ; Added only for use of _ArrayDisplay() Global $sduza = "pppdpppdppprdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararar" & _ "arararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararar" & _ "arararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararar" & _ "arararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararar" & _ "arararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararar" & _ "arararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararar" & _ "arararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararar" & _ "arararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararar" & _ "arararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararar" & _ "arararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararar" & _ "arararararararararararara,rararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrarararara" & _ "rarararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrarara" & _ "rarararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsra" & _ "rarararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrd" & _ "rsrararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrd" & _ "rdrdrsrararararararararararararararararararararararararararararararwwwwwwwwwwwwwwwwwwwwwwwwwwwwww" ;ConsoleWrite(StringRegExpReplace($sduza,"(.{1,120})",'"\1" & _' & @LF)& @LF) $duza = StringSplit($sduza, "", 2) ;1896 _ArrayDisplay($duza) Global $sbduza = "pppdpppdppprdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararar" & _ "arararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararar" & _ "arararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararar" & _ "arararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararar" & _ "arararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararar" & _ "arararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararsr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararar" & _ "arararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrsrararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararar" & _ "arararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararar" & _ "arararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararar" & _ "arararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararar" & _ "arararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararsrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararar" & _ "arararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrar" & _ "arararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdr" & _ "drdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararar" & _ "arsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararar" & _ "arararararararararararararararararararararararwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww" ;ConsoleWrite(StringRegExpReplace($sbduza,"(.{1,120})",'"\1" & _' & @LF)& @LF) $bduza = StringSplit($sbduza, "", 2) ;3326 _ArrayDisplay($bduza) Global $sogro = "pppdpppdppprdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrd,rdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrarararararararararararar" $sogro &= "ararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararsrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrsrararararararararararararararararararararararararararararararararararararararararararararararararararararararararararararwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww" $ogro = StringSplit($sogro, "", 2) ;6399 _ArrayDisplay($ogro)1 point
-
great77, Your right, I dropped the freakin brackets, d'oh! Looks like you have it well in control. kylomas1 point
-
Maybe it can be setup a mechanism that should allow this udf to fire events on comm status changes, like already stated in post #51. Unfortunatelly I've found no examples on how things has to be setup to accomplish that, and also I don't know how to do it myself. Here 2 links where there is mention about something like this: http://www.codeproject.com/Articles/2682/Serial-Communication-in-Windows (Search for WaitCommEvent) WaitCommEvent (Waits for an event to occur for a specified communications device) p.s. if some smart mind with a good soul knows how to do it and could post an example, we could be very thankful...1 point