Link to home
Start Free TrialLog in
Avatar of damdell
damdell

asked on

Capture Window Title for all currently running exes through VB Script

Hi,
I am trying to capture the window title of all active windows through VB Script.Some how it is not working.
ASKER CERTIFIED SOLUTION
Avatar of BillDL
BillDL
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just a follow up.  I was looking through my old Windows 98 repository and I found the "Microsoft TechNet Windows 98 Resource Kit" along with the URL to the base folder on the FTP site:
ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/

If you open the Diagnose folder you will see a program named "TLIST.EXE":
ftp://ftp.microsoft.com/Services/TechNet/samples/PS/Win98/Reskit/DIAGNOSE/TLIST.EXE

Run in Windows 98 (and it works in Windows XP), this displays the Process ID (PID) and module name.  Unfortunately it doesn't display the Window Title, but perhaps you might be able to use the listing along with a VBScript to get the Window Titles for the named processes.