Skip to main content

New Script

A new script is created using the "New Script" menu item.

drawing-7-1676348830.pngdrawing-7-1676348830.png

Selecting the item will prompt a dialog to enter a name.

drawing-5-1706879465.pngdrawing-5-1706879465.png

Depending on the option 'Code Template' in the dialog, the newly created script will either be empty (Code Template: Empty), contain commonly used callback functions (Code Template: Basic), or contain the full set of callback functions for the user to implement (Code Template: Full).

Alternatively, scripts can be added to a solution via "Add" > "New item" option by using the Solution Explorer context menu.

drawing-5-1706879509.pngdrawing-5-1721972141.png

Scripts will show up in the Solution Explorer and the Scripts section of the Toolbox with the postfix ".lua".

drawing-7-1676348970.pngdrawing-5-1721972214.png
drawing-7-1676348980.pngdrawing-5-1721972280.png