Legato Samples
A number of samples have been created using Legato and made available to aid developers in understanding how the script’s functions operate. Some files are zipped and must be decompressed using a suitable program. Certain scripts, such as hooks, may need to be moved into the “Scripts” folder in the application’s installation directory in order to run the script via a ribbon command within your GoFiler application. In order to test such files, the underlying application will require a restart to enable the registration of the hook to the ribbon.
Sample files may be available as a Legato Script (*.ls or LS), a resource compiler (*.rc or RC), a menu script (*.ms or MS), or a compressed file (*.zip or ZIP) if more than one file is necessary for the operation of the sample script. Note that some browsers may require that you right-click and Save As or Save Target As to download the file. Otherwise the content will open in the browser window.
Name | Description | Last Revised | Download |
---|---|---|---|
Convert EDGAR Company IDX to CSV | A script demonstrates CSV functions and the FormattedTextToArray function. | 12/16/2014 | LS ZIP |
Load and Save CSV as a Table | A small program that demonstrates the use of CSVReadTable and CSVWriteTable functions by loading statistics from a file, makes a minor formatting change and then writes the data to a new file. | 12/21/2014 | LS ZIP Data |
Name | Description | Last Revised | Download |
---|---|---|---|
Combo Box Controls A (Simple) | Example of coding combo box style controls exhibiting various combo box features. | 12/16/2014 | LS ZIP RC |
Combo Box Controls B (Drop Style) | Example of coding combo box style controls exhibiting various combo box features. | 12/16/2014 | LS ZIP RC |
List Box Controls | Example of coding list box controls exhibiting various features. | 12/16/2014 | LS ZIP RC |
Property Sheet Dialog | Example of a multiple tab dialog box. | 12/16/2014 | LS ZIP RC |
Simple Dialog | Example dialog with inline resource using a text "edit" control. | 12/16/2014 | LS ZIP |
Additional samples are available with step-through instructions on the Legato Developer’s Corner of our blog. Each Friday, we explore new functions and create scripts to accomplish both simple and complex tasks.