The Scripting Panel

<< Click to Display Table of Contents >>

Navigation:  Scriptiing >

The Scripting Panel

The scripting panel allows you to create command and command buttons to add to the AutoTRAX menu. It is shown below.

clip1066

The Scripting Panel

Help

clip1069 Click to see this help topic.

Plug-in Directory

clip1067

This is the directory that the command plug-in collection files are kept. Each file is an XML text file with a .xml file extension. This allows you to view and edit them in third part XML programs.

clip1068 Click to browse to set a directory.

Command Sets

Command plug-ins are contained in a plug-in collection files. You can have any number of  plug-in collection files in the plug-ins directory. When AutoTRAX starts, it loads all  plug-in collection files found and adds menu items for each command plug-in the file if the collection is enabled.

clip1085 Click to update the menu with the commands.
clip1070 Click to create a new empty command plug-in collection file.
clip1071 Click to delete the selected command plug-in collection file. It will be moved to the recycle bin.

The grid displays all collection files loaded on startup.

Name is the name of the collection file (less the .xml extension)

Description is a brief description of what the collection contains.

Enable - if checked then the commands in the collection file will be added to the menu as buttons subject to the individual commands being enabled (see below).

Commands

This lists the command plug-ins found in the selected collection file.

clip1070 Click to create a new empty command plug-in.
clip1071 Click to delete the selected command plug-in. Once deleted, it s gone forever. You will be prompted before deletion occurs. So please keep a backup.

Name is the name of the command plug-in.

Description is a brief description of the command..

Enable - if checked then the command will be added to the menu as a buttons subject to  it's collection file being enable (see above).

Command

clip1072 Click to view the AutoTRAX API.
clip1081 Click to save the command. This will only be displayed if you have made any changes and the command has not been saved.
clip1073 This is the name of the command.
clip1074 Click either of the icon areas to set the small or large icon. The small icon but be 16x16 pixels and the large icon must be 32x32 pixels.
clip1075 Click to remove the icon. You can have buttons with no icons and only the text will be displayed.
clip1076 Selects the Ribbon Page/Tab that the button will be added to.
clip1077 Selects the button group  that the button will be added to.

Tooltip

clip1078 This is the title for the tooltip.
clip1079 This is the main tooltip text.
clip1080 This is a preview of what the button will look like. Hover the mouse over it to see the tooltip.

Command Script

This is the IronPython program script for the command. See the API for more details.

clip1082 Click to run the program script.
clip1083 This is the program script.
clip1084 This is the output after running the script. It will also list any errors found.