Hi All,
The following is a simple script which will list all the applications inside ur taskmanager applications tab.
Set objWord = CreateObject("Word.Application")
Set colTasks = objWord.Tasks
For Each objTask in colTasks
If objTask.Visible Then
Wscript.Echo objTask.Name
End If
Next
objWord.Quit
Must and should read link:
Infact i actually copied the above code from this link only. This was really very helpful and it explained me a lot. I'd simply like to say: "All the processes which are not running in hidden mode are listed in the applications tab.If a process doesn't have a visible window then it will not be present in the applications tab."
I really insist all of u to go through the above link for a better understanding of things.
Hpy Scripting.........