## WorkShop Visual Replay Command Syntax - Display Expressions

#### Keywords

- IsPseudoColor
- IsDirectColor
- IsTrueColor
- IsStaticColor
- IsStaticGrey
- IsGreyScale

#### Synopsis

        if expression
    	actions
        endif

#### Inputs

- expression - one of the keywords listed above

#### Description

You cannot guarantee that a script recorded on one display will necessarily work on another of a different type. Certain applications make heavy use of color and may display a color restriction message to a user if he is running the application on a display with a limited color map. Your scripts must accommodate such situations.

#### Example

        if !IsPseudoColor
    	message Non PseudoColor display
        in warning_popup
    	push warning.OK
        endif

See also:

- WorkShop Visual Replay Command Syntax