The Edit/Run Script dialog box lets you create a VBScript file.
-
Select to display the Edit/Run Script dialog box.
-
Type the script instructions directly in the script editor window.

The script syntax is displayed as in Visual Basic.
For more information on VB syntax, see the Microsoft Visual Basic documentation