Automation

To create a new script press on New script in the upper right corner and define a description of the script. Once saved, a basic script template will appear.

Automation template

In the upper part of the Automation script page there are some useful buttons that will be described below.

  • Edit to edit the description of the script;
  • Start to start / stop the execution of the script;
  • Autostart to toggle the autostart of the script;
  • Export script to export the script;
  • Save as to clone the script, saving it with a different description;
  • Delete script to delete the script;
  • Reformat code to automatically format the code;
  • Check code to check the validity of the code;
  • Show console to show / hide the console when the script is running.

To be able to write the scripts, the user has to know which are the built-in Object and Modules that can be used, their properties and methods. These will be described in the following.

Built-in Objects

oggetto - descrizione - metodi + descrizione - eventi collegati

console scrive sulla console

process

Built-in Modules

bpe

timer - funz che permette di crear un timer per le operazioni cicliche

meshcube

EventGenerator