Re: How to identify open windows (not processes)...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



One way, if you don't mind using an external component:

http://www.jsware.net/jsware/scripts.php3#jssys

It's an ActiveX DLL with system functions that include
GetProcessList
GetOpenWindowTitles
GetActiveWindowTitle
SetWindowActive


I'm struggling to find a way to identify all "applications" or "windows"
that are running for the currently logged on session.

Basically, I want to get the PID, Title, Size, Max, Min, Front, Back,
Size,
Focus, etc (or a subset of these properties, but definitely the Window
Title)...

I can't see how to determine an application's "Window Title" from either
tasklist.exe or looping through Win32_Process.

Can anyone offer any pointers, please?

Thanks,
Dave.




.