## WorkShop Visual Replay Command Syntax - Specifying the context of actions

#### Keywords

- in - specify the context of subsequent actions in a script
- ApplicationShell - the top level shell of the application

#### Synopsis

        in shell_widget
    	commands
        in ApplicationShell
    	commands

#### Inputs

- shell_widget the name of a shell widget other than the main application shell

#### Description

WorkShop Visual Replay scripts consist of actions on widgets. These actions have to take place within the context of the shell (i.e. dialog) which contains that widget. If the shell is not realized, the script will fail at that point. The in command cannot be nested. Once you have come out of a shell (to go into another shell), you must go back in to that shell before attempting any further actions within that context.

#### Examples

        in ApplicationShell
          push this_button
          push that_button
          push help_dialog_button

        in help_dialog_popup
          push cancel_button

        in ApplicationShell
          push another_button

See also:

- WorkShop Visual Replay Command Syntax