Hey All, I have searched the all boards and not found an answer to this one.

I would like to list all active windows and read it into a string or array. I think the com object to do this is something like this:
r = FindWindowLike(hWnds(), 0, "*", "*", Null)

Could someone mock up a quick script that does this or get me started down the right path?
TIA

PS, I am using kix to launch some apps inside citrix and move around files and I need to know if a specific app is running or not so I think this is the best way to do that!