Prism 6.0 Reference Manual

pushbutton

Adds a Prism command to the tear-off region.

SYNTAX

pushbutton label command

DESCRIPTION

Use the pushbutton command to create a customized button in the tear-off region. The button will have the label you specify; clicking on it will execute the command you specify. The label must be a single word. The command can be any valid Prism command, along with its arguments.

To remove a button created via the pushbutton command, either enter tear-off mode and click on the button, or issue the untearoff command, using label as its argument.

Changes you make to the tear-off region are saved when you leave Prism.

This command is not available in commands-only Prism.

EXAMPLE

This command creates a button labeled printfoo that executes the command print foo on dedicated:

pushbutton printfoo print foo on dedicated