Designing a Script
To start designing a script, click
in the list of scripts.
Adding a Control
To add a control to a script, click and drag the control to an empty script box.
Note: New empty script boxes are created when you define the exit conditions for a control (using the Exit condition(s) property). Each exit condition represents one branch that the script can take.
Editing a Control’s Properties
To edit a control’s properties, follow these steps:
- Click
and then Properties. The Control properties section shows. - Edit the control’s properties as required. For a description of each property, see Script Controls.
- Click
.
Viewing a Data Entry Element / Subscript
You can open any data entry element or subscript that a script uses to view and/or edit it. To do this, from the Control properties section, click
.
Collapsing/Expanding a Branch
When you’re working on a script, you may only be interested in a particular part of it. To hide a script branch that you’re not interested in, click
.
For each control, Syntelate XA shows whether any script branches have been collapsed and, if so, how many:
.
To expand a script branch again, click this. Where more than one script branch has been collapsed, Syntelate XA will ask which branch you’d like to expand.
To quickly expand all collapsed branches in a script, click
.
Inserting/Replacing a Control
You can:
- Insert a new control before an existing control.
- Replace an existing control with a different type of control.
To do this, drag the new control onto the existing control. The Insert/Replace Control dialog box appears. Select whether you want to insert a new control or replace the existing control, and then click Confirm.
Note: A Jump point or Stopbox can only replace an existing control. This will delete any controls below the existing control.
Deleting a Control
To delete a control, click
and then Delete. A dialog box shows.
If the control has exit conditions, you’ll have the option to:
- Delete the control and everything below it.
- Delete the control but retain a particular branch.
If you retain a branch, this branch will move up in the script to take the place of the deleted control.
Note: You can also delete entire branches by deleting exit conditions in a control’s properties.
Zooming
To zoom in or out of a script, use the size slider.
Publishing/Previewing
Any changes that you make to a script are not reflected at runtime until you publish the script.
Perhaps you’re not ready to publish the script for runtime but just want to preview how it’ll look. Syntelate XA allows you to do this too.
Note: To publish or preview a script, the script must be part of a desktop.
Publishing a desktop automatically publishes any scripts (and data entry elements) that the desktop uses.
To publish or preview a script, follow these steps:
- Click
. The Publish dialog box appears. - Select whether to preview the script or to publish it.
- If previewing the script, select the desktop that you’d like to preview.
- Click Publish.
If any controls are missing required properties, an error message is shown. Fix these controls, and then 
