I know how to use WinGetClassList() to return a list of classes in a window. And I know how to use WinGetText() to return the text in a window. But how can I get the text from each of the classes that WinGetClassList() returns? I tried ControlGetText("title", "text", controlID) but it returned a blank string and @error=1, indicating some error. I'm reasonably sure my input parameters are correct as I used the AutoIt Window Info Tool to obtain each, and those parameters return expected results with other functions. Thoughts? Maybe I'm mixing up 'class' and 'control?'
↧