Code: Select all
Nulls = 0
Total = 0
ControlGet, Subject, List, , TbkGndListBox1
Loop, Parse, Subject, `n
{
++Total
If( A_LoopField ) {
} Else {
++Nulls
}
}
MsgBox, Control has %Total% rows, %Nulls% of them are empty.
Nirsoft's sysexporter has the same limitation, it retrieves just 1000 non-null rows starting at the n-th row which coincides with the top visible row in the control window.
So I guess there must be some technique around this. I suppose I need an outer loop to chunk out the whole control list by 1000-row steps, but I can't find suitable keywords in the Autohotkey help file. Or scroll the list by 1000-row steps, but again I can't find how to do that.
Or maybe I'm using the a completely wrong approach. Please advise me.
Another AHK and AHK_l issue I have is this
ControlGet, Max, List, Count, TbkGndListBox1
doesn't return the total number of rows into Max. Instead it retrieves text from the control, just as if Count wasn't there. What am I doing wrong?
TIA