Menu Commands


Selects a menu item. Separate menu names with a comma or a semicolon (File;Open) and use the "&" character to match underlined characters (&File, &Open).

Example: "Edit;Find"

The available commands are:

  Select Menu Item
  Select System Menu
  Show Popup Menu



  Select Menu Item
 

The Select Menu command also works with non-standard and custom menus, in addition to standard Windows menus. When there is difficulty selecting a menu item, it is nearly always due to a difference in the actual menu text instead of what you entered in vTask. It is especially important to include the "&" for underlined characters at the appropriate locations, such as "&File".

If you are accessing a custom menu, this is even more important. Microsoft Word is an example of a non-standard menu which vTask can access. If you can select a menu with keyboard commands, vTask should be able to access the menu entry also.

For example, if you want to select the following menu:



You would use the following Select Menu command:





Backup Methods: For cases where a menu simply is not being correctly selected by vTask, the following solutions are possible:




  Select System Menu
 

The System Menu is a special menu that every window with an icon has. It allows window-specific commands, such as Maximize, Minimize, or Move. Click the icon in the upper-left corner of a window to see the available options.
"Ma&ximize" would be a possible command text for this menu.




  Show Popup Menu
 

Displays a popup menu located where the mouse pointer currently is. Execution of the next action resumes after the user chooses a menu option. Separators can be added with one or more dashes: "----". The user's selection can be saved into the clipboard or a variable.

To create an underlined character that can be used as a "hotlink", use the & character. However, to see the underline, you must have Control Panel - Display Properties - Effects button - "Hide underlined letters for keyboard navigation until I press the Alt key" UNCHECKED.

The format of the menu text is:
Choice &1
Choice &2
-------
Choice &3




The previous action text would create the following menu: