The Interface

The layout of the Script Designer is as follows:

Screenshot of the interface for designing scripts

1. Script Buttons / Size Slider

The following buttons and slider show at script-level.

Button Description
Expand all Click to expand all collapsed branches in the script.
Size slider Drag the size slider to zoom in/out of the script.
Publish

Click to publish the script for use at runtime (on your test environment). Whenever you update a script in Designer, you must publish it to see the changes you’ve made at runtime.

You don’t actually need to publish each element that a desktop uses individually. When you publish a desktop, this automatically publishes all scripts and data entry elements that the desktop uses. As such, you may find it easiest to always just publish from the desktop.

2. Controls

To add a control to your script, drag it from the Controls list to an empty script box.

For a full description of script controls, see Script Controls.

3. Control Menu

Click Script menu on a script control to show the following menu:

Screenshot of the menu for script controls

Option Description
Properties Click to edit the control’s properties.
Delete

Click to delete the control. If you’ve already added 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.

4. Collapse Branch

When you’re working on a script, you may only be interested in a particular part of it.

Click Collapse script exit condition to collapse a script branch that you’re not working on. This helps you to focus on the branches you are working on.

5. Expand Collapsed Branch

For each control, Syntelate XA shows whether any script branches have been collapsed and, if so, how many: Expand collapsed script branch.

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.

Screenshot of expanding a script branch

To quickly expand all collapsed branches in a script, click Expand all.

6. Empty Script Box

When you add an exit condition to a script control, this creates an empty script box. You can then drag another script control from the Controls list onto this empty script box.