Import-Module WASP ## Starting from the tray container, Select-UIElement -Class Shell_TrayWnd | ## Pick the real system tray Window Select-UIElement -Class TrayNotifyWnd | ## It has a the Notification Chevron expander button ## It also has the "SysPager" which has the icons in it (FYI) ## Pick the button and click it: Select-UIElement -Name "Notification Chevron" | Invoke-Invoke.Invoke ## Now start from the Overflow window Select-UIElement -Name "Notification Overflow" | ## Then find the icon container: Select-UIElement -Name "Overflow Notification Area" | ## Pick an icon (in this case, the SkyDrive icon) and click it: Select-UIElement -Name "SkyDrive*" | Invoke-Invoke.Invoke
That's using the new script module instead of the binary. I'll try to release that version here this week.