JavaScript bundles, described in the Scripting Reference, are added to KeyConfigure in the Manage Scripts dialog. Available scripts appear in the Tasks menu as well as context menus for items in KeyConfigure's windows.
To add scripts to KeyConfigure, choose Manage Scripts from the File menu. There is a Library at Sassafras section which allows for convenient addition from our repository. Simply drag scripts from the Library section to the Server section to add activate them locally. You can also drag script bundles into the list of available scripts if you are making your own. Once a script is in the list you can move it from one location to another to control the availability of the script. Keep in mind there is no overt version control, so you may need to delete a script from your server section and re-add it from our Library to get a new version. We would advise doing this on occasion to ensure you get any enhancements.
You can find our Library of pre-written scripts on the Scripts for KeyConfigure 7.7 page. These scripts are available directly in the Manage Scripts window as mentioned above, but you can download them here and manually load them in if needed (e.g. offline secure networks).
Scripts can be located in one of three places to control who will see the script when running KeyConfigure.
On Server for all admins
These scripts are stored on the KeyServer computer and available to all administrators who log in with KeyConfigure. There is no per-script access control, although scripts that operate on individual items (computers, policies, etc.) will be subject to the same access controls and permissions of the connected administrator. If a script must not be available to all administrators, place it in one of the local locations below.
Local for all accounts on this computer (Windows only)
These scripts are stored on the local computer in a directory that is accessible to all users who log onto the computer. They will not be available when connecting from other computers unless installed on those computers as well. Note that this location might not be listed if the account under which KeyConfigure is running does not have permission to modify the shared directory in which scripts are stored.
Local for this account on this computer
These scripts are stored on the local computer in a directory that is private to the account under which KeyConfigure is running. They will not be available when connecting from other computers unless installed on those computers as well. They will not be available to other users on the same computer unless separately installed for those accounts. This location is the best choice when testing a custom script, or when installing a script that should only be used by one administrators.
All available scripts are listed in the Tasks menu. Scripts that operate on items of a particular type will be dimmed unless there is an applicable selection in the frontmost window. Such scripts are also available from the contextual menu when right clicking on a selection of the relevant item type.