Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (136 - 138 of 3866)

Ticket Resolution Summary Owner Reporter
#237 Rejected FileSearchLine() and _ArraySum() Jayowee (jay_paans@…
Description

I have two ideas: 1) FileSearchLine("filename", "searchstring") which returns the (1-based) linenumber of the first occurense of the searchstring.

Possible script:

For $line= 1 To _FileCountLines($file)
 If FileReadLine($file, $line) = "searchstring" Then Return $line
Next

Maybe a parameter could make this function return an array with all occurences (if more than one)...

2) _ArraySum($array) which simply adds up all of the arrays elements. I think a condition must be that all elements are numbers because you can't really add up strings.

Possible script:

Dim $sum=0
For $n= 1 To UBound($array)
 $sum += $array[$n]
Next
Return $sum

I hope these are two ideas you guys can use. Jay

#241 Rejected new dllcall type anonymous
Description

If possible "QWORD" type for the dllcall. Thanks in advance

#242 Duplicate _SoundLength don't work nopower_blackout@…
Description

Hi, in the last version of autoit (3.2.10.0), the function "_SoundLength" don't works correctly, and always return "00:00:00". But in the earlier versions like the 3.2.2.0, it works good.

Note: See TracQuery for help on using queries.