set shell=createobject("shell.application")
wins = shell.Windows()
set handle = wins.Item(0)
if handle.locationname = "My app title text" then
<some code>
end if
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost
Mark L. Ferguson
..
"Prince Of Code" <> wrote in message
news:a3f8809b-9505-425d-850a-...
>> The utility 'tasklist' can do it. There is also a scripting interface for
>> tasks and
>> processes.http://www.microsoft.com/technet/scr...s/process/proc...
>> command:
>> cscript go.vbs
>> --go.vbs--
>> --end file--
>> Was this helpful? Then click the Ratings button. Voting helps the web
> Sounds Cool.
>
> More thing I am keen is on getting the Application/ Window info that
> is on focus (Active). Is there a equvalent javascript code or can I
> use the same VBS script to accomplish my goal.
>
>
> Thanks again
> Neps
>> interface.http://www.microsoft.com/wn3/locales....htm#RateAPost
>> Mark L. Ferguson