Hi Guys,
I want to write a script that right clicks on an icon in the system tray and then left clicks on "Log Out". Log out is only there if the user is logged in. So far I can right click the tray icon using this snippet:
Opt("WinTitleMatchMode", 2)
Global $hSysTray_Handle, $iSystray_ButtonNumber
Global $sToolTipTitle = "GoToMeeting "
$iSystray_ButtonNumber = Get_Systray_Index($sToolTipTitle)
If $iSystray_ButtonNumber = 0 Then
MsgBox(16, "Error", "Is GoToMeeting Running?")
Exit