I have been messing with this amazing function I found on the old forums. There is not much information on it.
I tried to figure it out on my own but to no avail. I could really use some help with. Here is the link to it.
So far I can only seem to pass one parameter to it, but reading his brief description it seems possible to pass multiple parameters to it. If I am mistaken please let me know.
I would like to invoke the function like this WinGetAll("Title", Class', 'Hwnd', 'Process', 'PID') , so that it will return all the properties of a window per line:
Code: Select all
[Window #1 Title],[Window #1 Class], [Window #1 Hwn], [Window #1 Process], [Window #1 PID]
[Window #2 Title],[Window #2 Class], [Window #2 Hwn], [Window #2 Process], [Window #2 PID]
[Window #3 Title],[Window #3 Class], [Window #3 Hwn], [Window #3 Process], [Window #3 PID]
<etc etc >
Code: Select all
WinTitles := WinGetAll("Title", "On")
WinTitles := WinGetAll("Title", "Off")
I just need a reliabe way to get every window and its properties listed in a single line:
Code: Select all
[Window #1 Title],[Window #1 Class], [Window #1 Hwn], [Window #1 Process], [Window #1 PID]
Any help would be greatly appreciated!