Creating a scripted plug-in

Introduction

A scripted plug-in is a regular script package that has been saved with a special password and is placed in the appropriate folder, so that it can be located and loaded by Switch. Once successfully loaded, the scripted plug-in's icon appears in the Elements pane and it can be used just like any other built-in tool or configurator.

The scripting API offers several entry points, properties and functions to support optional features that are specific to scripted plug-ins (for example, centralized management of the path to a third-party application). Since none of these features are required, a regular script package can be turned into a scripted plug-in in a matter of seconds.

Furthermore, all scripted plug-in features can be developed and tested using SwitchScripter. The only thing which cannot be done without an appropriate password is loading the scripted plug-in in the Switch Elements pane.

Password

Enfocus may license selected third-party vendors to develop scripted plug-ins; see Obtaining permission. In most cases, users have to submit their (unprotected) script package to Enfocus for code review and quality assurance. Upon approval, Enfocus saves the scripted plug-in with the appropriate password.

If users have been handed a scripted plug-in password (and signed the required licensing agreement), they can create a scripted plug-in by entering the password in the main script properties in SwitchScripter Declaration pane.

Contents