Creating Script Collections (Script Libraries)
To allow you to use the procedures in your Tcl scripts most conveniently directly from the VisualApplets GUI, VisualApplets offers the Script Collection feature.
In a first step, you create script collections (libraries) that contain individual commands. Each command you define to call a specific procedure in a specified Tcl script.
Afterwards, the individual commands are graphically available directly on the VisualApplets GUI and can be started via mouse click or Drag & Drop. This way, you can make use of your Tcl procedures as library elements. When called, the commands are executed in the TCL console. 1
In pane Script Collection, you see which script collections are already available in your VisualApplets installation and which commands are contained in each collection:
Script Collection in the VisualApplets GUI |
|
You can define a script collection either
- in a graphical way, using the VisualApplets GUI, or
- creating/editing an XML file that defines the script collection.
|
Version Control Systems |
|
|
|
Storing all collection information in XML files allows you to use version control systems not only for the individual Tcl scripts, but also for the structure and content definitions of your script collections. |
For information on how to set up your script collections, refer to the following sections: