cbutton

Introduction

cbutton is a program to create a button in the button frame. This button allows you to start a program (cbutton stands for "Call BUTTON").

If the button frame does not exist, the program will just display a moveable window. The further operations are the same.

When the item in the cbutton program is indicated by a DO, then a given program will be started. This is done by starting the ProWesS loader which will load that program.

If needed, you can make sure that the program asks you to insert the proper disk before the program is actually started.

To function properly, cbutton assumes that the request and ProWesS loader executable things are available. These are normally loaded when ProWesS is started.

Usage

cbutton filename [-path path] [-insert] [-name button-name]
filename
The name of the file which has to be used by the ProWesS loader when the button is activated. If no path is given, then file will be searched on the data default device (and then on the program default device).
path
A path can be given. The file will be searched on the path given. A path can include several device_directory combinations, each separated by a semicolon (';'). A path can also include directories which start with the name of a "Global Variable".
insert
When this option is given, the program will ask the user to insert a disk before it tries to load the program.
button-name
You can explicitly tell the button which name has to be displayed inside it. If you do not specify the button name, then the filename will be displayed.

PROGS, Professional & Graphical Software
last edited March 30, 1996