Tools Preview - The Script Sorter tool
Selecting a design element type
The tool can handle the following design elements:
- LotusScript Libraries
- LotusScript Agents
- Forms
- Views
- Folders
- Subforms
- Pages
- Database Scripts
- Web Services
Once a database/template has been selected, the Script Sorter tool will scan the database/template and present all design element of the types listed above.
The result is presented in a tree-view control.
The numbers within brackets indicate how many design elements of the specific type that was found.
By clicking '+' the tree is expanded to show the design elements of that type.

The numbers within brackets here indicate the number of sortable subroutines/functions found in the design element.
Selecting a design element
When you click on a design element in the tree-control, the sortable subroutines and/or functions will be presented in the list in the bottom frame.
The subroutines/functions are always initially presented in the order they currently have.
If you click on a design element with 0 or 1 sortable subroutines/functions, the list will be empty and all buttons disabled.
If you click on a design element that is locked, the list will indicate that the design element is locked and who it is locked by.
You can not sort subroutines and/or functions in a locked design element.
Sorting subroutines/functions
If a selected component contains more than one subroutine/function, they will be presented in their current order in a listbox.
A set of buttons will be visible to enable either sorting in ascending or descending order, or moving any selected subroutine/function up or down in the list.

Saving changes
If any changes are made, the "Save" button will be enabled.
A click will save all changes and recompile the component.