Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Remya,
You can access the needed element in the tray by its name and click it. For example, the code below right-clicks the Skype icon in the tray:
var tray = Sys.Process("explorer").Window("Shell_TrayWnd", "", 1).Window("TrayNotifyWnd", "", 1).Window("SysPager", "", 1).
Window("ToolbarWindow32", "User Promoted Notification Area", 1);
tray.ClickItemR("Skype*");