if expression
actions
endif
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.
if !IsPseudoColor
message Non PseudoColor display
in warning_popup
push warning.OK
endif
See also: