Creating a Custom Script

To create a custom script:

  1. On the Setup tab, under Scripts, select Script Editor.
  2. On the Script Editor screen, click New.
  3. From Script Type, select Custom.
  4. From Technology, select Jython or Visual Basic.

    Scripts created in Jython are saved with a .py extension. Scripts created in Visual Basic are saved with a .vbs extension.

  5. In File Name, enter a name for the script.
  6. Click OK.
  7. Write the code for the custom script in the Script Editor.
  8. Click Save.