Re: What Programs are running?
- Posted by Michael Raley <thinkways at yahoo.com> Apr 04, 2005
- 427 views
don cole wrote: > > > How can I get a list of the programs that are currently running? > Like when I press ctl+alt+del? > In a euphoria sequence of course. > > Don Cole > SF > winclassdll.e will give a list of handles
include winclassdll.e atom a sequence s s = listWindows() a = open("handles.txt","w") for i= 1 to length(s) do printf(a,"%d -- ",s[i]) puts(a, getCaption(s[i])&"\n") end for close(a)
some of the output I get; 184 -- RPCSSWindow 712 -- OLEChannelWnd 532 -- MM USB Keyboard Driver 296 -- One-touch Multimedia Keyboard 536 -- Microsoft PC State Manager 604 -- OleMainThreadWndName 608 -- DDE Server Window 724 -- MS_WebcheckMonitor 748 -- Power Meter 840 -- USBMMKBD 948 -- OleMainThreadWndName 952 -- AnalogX PortBlocker Log... 972 -- PortBlocker 976 -- OleMainThreadWndName 804 -- FastCache 988 -- Proxy 992 -- Connection Manager 1108 -- Adaptec DirectCD Wizard 1532 -- WIN95 RPC Wmsg Window 2604 -- DDHelpWndClass 564 -- WIN95 RPC Wmsg Window 1796 -- ΓΏ 1548 -- WIADCWND 1540 -- STI Monitor 1536 -- STI Monitor 1520 -- OLEChannelWnd --"ask about our layaway plan". --