## WorkShop Visual Replay Command Syntax - Menu Operations

#### Keywords

- cascade - post a pulldown menu
- pullright - post a pullright menu from a pulldown menu

#### Synopsis

        cascade cascadebutton
    	select widget
        cascade cascadebutton
    	pullright cascadebutton

#### Inputs

- cascadebutton - the name of a cascadebutton
- widget - the name of a widget within the cascade button's pulldown menu

#### Description

cascade is a shorthand way of describing menu operations. You can also post a menu by pushing on the associated cascade button or using a keyboard accelerator. Similarly, menu options can be selected using accelerators or keyboard mnemonics.

cascade posts a pulldown menu to allow a selection to be made from it. The selection may be a widget (i.e. an option in that menu) or a cascadebutton which displays a pullright menu.

#### Examples

        in ApplicationShell
           cascade file_m
    	 select open_file

        in ApplicationShell
           cascade format_menu
    	 pullright character_menu

#### Notes

WorkShop Visual Replay only supports one level of pullright menu to conform to the Motif style guide. You can however use the push command in your scripts to select pullright menus in succeeding levels.

See also:

- WorkShop Visual Replay Command Syntax