The system displays the Groovy Script dialog box when you select the Insert or Edit Groovy Script command from the Groovy Scripts window. This dialog box allows you to create or modify Groovy scripts. The left pane shows the actual Groovy script. The right pane shows the allowed parameters for this type of script and serves as a reference when creating or modifying scripts. The following buttons are also available:

  • Cancel: This discards any changes made in the Groovy Script dialog box and closes it.
  • OK: This saves the Groovy script and closes the Groovy Script dialog box.
  • Parse: This checks the Groovy script's syntax and displays what is found.
  • Run: This runs the Groovy script and shows the output. This button will only work for those types that have no input parameters; otherwise an error will occur (saying the script needs input).
  • Save As: This allows you to copy the current Groovy script as a basis for creating a new Groovy script. After clicking the button, the application changes the displayed name to an ID number. You may then change the ID number to a descriptive name, adjust the script as desired, and click the OK button to save the new Groovy script.
  • No labels