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.
I am trying to capture the window title of all active windows through VB Script.Some how it is not working.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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.