Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Can Vista Gadgets Get Info about Applications Currently Running ?

Reply
Thread Tools Display Modes

Can Vista Gadgets Get Info about Applications Currently Running ?

 
 
Prince Of Code
Guest
Posts: n/a

 
      03-11-2008
Hey all,

I would like to know if we are able to get the information about the
applications running. Atleast the app names ? If we could get the
process name, id etc. that would be great. Also What other Operating
System level Information I can access from the Gadgets.


Looking for your reply

Thanks
Neps
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      03-11-2008
The utility 'tasklist' can do it. There is also a scripting interface for
tasks and processes.
http://www.microsoft.com/technet/scr.../pcthvb04.mspx
command:
cscript go.vbs
--go.vbs--
<code on page goes here>
--end file--

--
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:2c3a665b-ef95-4082-8b6f-...
> Hey all,
>
> I would like to know if we are able to get the information about the
> applications running. Atleast the app names ? If we could get the
> process name, id etc. that would be great. Also What other Operating
> System level Information I can access from the Gadgets.
>
>
> Looking for your reply
>
> Thanks
> Neps


 
Reply With Quote
 
Prince Of Code
Guest
Posts: n/a

 
      03-11-2008
> 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

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      03-11-2008
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programs/Applications running Mary K Windows Vista Performance 3 10-16-2007 07:05 PM
applications Running very slowly in vista therocker39 Windows Vista Performance 3 05-09-2007 07:13 PM
Removing sidebar gadgets from running Steve Lentz Windows Vista General Discussion 1 04-12-2007 03:06 AM
iis 7.0 - applications running under dot net framework 1.1 halinab Windows Vista Installation 0 10-09-2006 07:22 AM
Applications running on Mapped drives require UAC turned off to in cdoyle Windows Vista General Discussion 0 09-12-2006 05:33 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59