Modifying a Control Panel
Creating a Script Button
Chromeleon lets you assign a command or an entire sequence of commands to a Script Button. In this way, you only need to click the corresponding button to have Chromeleon execute the command or program. To create script buttons, you must have the corresponding authorization.
Right-click the script button, select Properties on the context menu, and then select the Command tab page.
Type all commands to be executed successively into the list box. The syntax corresponds to the syntax used when creating a Program. When you have entered the commands, click Check to check the syntax. Click Try it now to test the operation before you complete programming.
You can also use a script to start a previously written program: Copy the entire program text and paste it into the list box on the Command tab page. Or else, use the Branch command. Enter the Branch command and then enter the path and name for the program to be started, e.g.:
Branch „CM_Seminar\\Programs\\Equilibration" |
This button allows you to start a column equilibration program that is stored on the CM_Seminar datasource in the Programs directory.
For more information, refer to Control The Program Syntax.
For practical tips, refer to:
Creating and Modifying Programs and Device Control Practical Tips for Device Control (Overview).