Using Legato
The Legato Scripting Language and the IDE are included in all installations of GoFiler Complete. You may also download the Legato Interpreter for free as a standalone package below.
This package will allow you to run Legato scripts from a command line. Legato is free for development for personal or non-commercial use. By downloading Legato Basic, you agree to the Terms and Conditions of its use.
Download 32-bit Download 64-bitThis package will allow you to write, debug and run Legato scripts from an IDE. Legato is free for development for personal or non-commercial use. By downloading Legato IDE, you agree to the Terms and Conditions of its use.
Download 32-bit Download 64-bit1.0 Legato Script Language Notes
1.1 Function Improvements and Changes
– Changed the names of workbook related functions:
DataSheetAddToWorkbook -> WorkbookAddSheet
DataSheetCreateWorkbook -> WorkbookCreate
DataSheetExportWorkbook -> WorkbookExport
This is something we generally try to avoid but since the functions were relatively new we felt it is not likely to have any impact outside of Novaworks and it allows for a more well thought out function set. (See new workbook functions below.)
– Made improvements to the JSON signature tester. The tester will now disqualify any file that is not .json, .txt, .dat or unknown. Once qualified, it must follow the basic syntax. The previous version would fail on simple arrays.
– Added a key name, “Encoding”, to the GetFileTypeData function.
– Made a minor change to the format names of ANSI and OEM from “ANSI Format” to “ANSI Text” and “OEM Format” to “OEM Text”.
1.2 New API Functions
Data Sheet/Workbook
– WorkbookGetSheet — Returns a data sheet object handle for a workbook sheet.
– WorkbookOpen — Opens a workbook from a specified file or URL.
– WorkbookGetInfoTable — Returns any globally named data (info table) from workbook.
– WorkbookGetSheetCount — Returns the number of sheets within the workbook.