Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Window 7 Win7 Access System Tray Systray Notification Area 64-bit Shell_TrayWnd cGetTBText cClickToolbar ToolbarWindow32
;RoboScripter ; Made with ; RoboScripter ver: 28 ; CtlMgr ver: 20026 AddExtender("wwctl34i.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)) ;Get the index of the button select1=ItemLocate("WinBatch PopMenu", result, @TAB);note ItemLocate is case sensitive Message("",select1) cClickToolbar(Controlhandle,select1) ;Clicks a toolbar button
AddExtender("wwctl64i.dll") ;Title: User Promoted Notification Area ;ID: 1504 ;Class: ToolbarWindow32 ;Level: 4 ; Default cWndByWndSpec seems OK here window1=cWndByWndSpec("Shell_TrayWnd","explorer",2,303,40965) window2=cWndbyid(window1,303) window3=cWndbyid(window2,0) ControlHandle=cWndbyid(window3,1504) tblist=cGetTbText(ControlHandle) tbitem = AskItemlist('Choose Items to Left Click', tblist, @TAB, @UNSORTED, @SINGLE) clicktypes = "Left-Click":@TAB:"Right-Click" type = AskItemlist("Click Type?", clicktypes, @TAB, @UNSORTED, @SINGLE ) If type == "Left-Click" Then clicktype = 1 Else clicktype = 3 buttonnum=ItemLocate(tbitem,tblist,@TAB) cSetFocus( ControlHandle ) cClickToolbar(ControlHandle,buttonnum,clicktype) ;SendKey( '{down}' ) Exit
Article ID: W17563
Filename: Window 7 Access System Tray Notification Area .txt
File Created: 2012:12:05:10:07:02
Last Updated: 2012:12:05:10:07:02