TrayIcon.Right
Description
- Simulates a right mouse click on the specified tray icon.
Syntax
- TrayIcon.Right([^]caption_list[(id)])
Parameters
- ^
- (string) a single carat character, ^, prepended to the icon name to avoid errors if the icon is not found
- caption_list
- (string) identifies which tray icon window to work with
-
Possible Values
- The icon's window can be specified via its:
- caption
- *caption
- *caption*
- caption*
- cap*tion
- exe name
- =exename
- window class
- c=windowclass
- id
- (mixed) Indicates which tray icon to use for a window when which controls more than one tray icon.
- Optional.
Examples
- TrayIcon.Right("avast*")
- Simulates a right-click on the Avast! tray icon.
- TrayIcon.Right("=explorer(2)")
- Simulates a right-click on the icon belonging to the Explorer-type window with id=2.