Skip to main content

Script

Adds a new script to the solution. You select Empty, Basic, or Full as the code template. The system adds the created script to the solution as a file with the .lua extension.

Item Description
Destination path Specifies the folder in the solution where the system places the new item. Click Browse... to select an existing folder.
Name Sets the name of the new item.
Category Specifies the category that the new item belongs to. The Toolbox uses this category to classify the item.
Description Describes the new item in detail.
Annotations Serves as storage for notes and other project-related information. The system exports the entered text to the HMI report.
URI You can set any URI. If you enter a valid URI, clicking it launches the browser and displays the contents of the link.
Export Always Specifies whether the system always includes this item as part of the asset.
Code Template Selects the type of code template that you use when you create the script.
  • Empty: An empty template that contains no code.
  • Basic: A code template that contains the commonly used callback functions.
  • Full: A code template that contains the complete set of callback functions that you implement.