09-07-2015, 05:34 PM
To make faster, at first get all window names into an ARRAY(str) variable, and in the loops use the variable, don't call getwintext. Now your code calls getwintext a.len*a.len times, eg 10000 times for 100 windows.
