Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List Task Manager Applications VBScript

Status
Not open for further replies.

zicko

Technical User
Jun 28, 2007
2
HR
Hello all,


I want to list Windows Task Manager Applications (Applications tab) but I don't know how to done that in VBS.
I have found how to list processes but this isn't what I need.

Any help will be appreciated.


Regards,
Drazen
 
Perhaps a list of windows would suit?

thread329-1378953

Code:
Dim sys 
'[URL unfurl="true"]http://www.jsware.net/jsware/scripts.php3[/URL]
Set sys = CreateObject("JSSys3.Ops")

v = Sys.GetOpenWindowTitles(a)
If v > 0 Then
   For i = 0 To UBound(a)
      s = s & vbcrlf & a(i)
   Next
   
msgbox s
End if
 
Hi,


Thank you very much! It works.


Drazen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top