WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Systray Icon Questions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

List of Running Programs in the SysTray

Keywords: 

Question:

I need to get a list of running programs in the SysTray. Any ideas?

Answer:

What versions of Windows? For Win98/ME and Windows 2000/XP it is easy...


;RoboScripter
; Made with 
;   RoboScripter ver: 29
;   CtlMgr ver: 20028
;AddExtender("wwctl34i.dll"))
AddExtender("wwctl44i.dll")

;Title: Notification Area
;ID: 0
;Class: ToolbarWindow32
;Level: 4
window1=cWndByWndSpec("Shell_TrayWnd","explorer",3,304,303,40965)
window2=cWndbyid(window1,303)
window3=cWndbyid(window2,0)
ControlHandle=cWndbyid(window3,0)
result=cGetTbText(ControlHandle)
Message("Toolbar Text",StrReplace(result,@TAB,@CRLF))     ;TODO - Add code to use toolbar text.



Article ID:   W15714
File Created: 2007:01:02:15:17:42
Last Updated: 2007:01:02:15:17:42