Creating a Script object
- Launch the Web Designer.
- Select Edit > Script.
- Click the New (+) button.
- In the Name field of the New form, specify a name for the new Script object.
-
Click OK.
The new Script name displays in the list on the left panel, and the Properties panel on the right displays the property sheet for the new Script object.
- From the Script Language drop-down list specify whether the script is to be in Visual C# or Visual Basic.
- To write the script, click the ellipsis (…) button next to the Name field.
- Use the Script Editor to write your script code.
- Click Compile Result.
- If necessary, correct any errors and recompile.
- To save your script, click OK.
- In the Scripts editor, click OK.
Related topics