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.

General Legato functions
Name Description Last Revised Download
Fahrenheit to Celsius Table (float) Create Simple Fahrenheit to Celsius Table using floating point logic. 12/16/2014 LS  ZIP  
Fahrenheit to Celsius Table (int) Create Simple Fahrenheit to Celsius Table using integer logic. 12/16/2014 LS  ZIP  
Legato Data functions
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  
Legato Dialog functions
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  
Legato EDGAR functions
Name Description Last Revised Download
Decompress EIS File Decompress EDGARLink Internet Submission File to plain EDGARLink XML file. 12/16/2014 LS  ZIP  
Legato File System functions
Name Description Last Revised Download
Enumerate Folder Demonstrates basic folder enumeration via GetFirstFile and associated routines. 12/16/2014 LS  ZIP  
Legato hooks
Name Description Last Revised Download
EDGAR Submit File Hook Example Example of setting a hook on a menu function. 12/16/2014 LS  ZIP  RC  
Legato Internet functions
Name Description Last Revised Download
Tiny FTP Browser This utility demonstrates the FTP SDK functions as part of Legato. 12/16/2014 LS  ZIP  RC  
Legato Project functions
Name Description Last Revised Download
Enumerate Project Files Function that loads a table with all the project entries and their properties. 12/01/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.