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 IDE and Script Language
1.3 Script Engine Improvements
– Corrected the error message being displayed for an orphan ‘continue’ statement (it was displaying a similar error as an orphan break).
1.3 Existing API Changes and Improvements
CSS and HTML
– Changed the SGMLGetParameters function to return erroneous property/attribute values as they are. The previous version would return the associated error text. In addition, the maximum property/attribute string size has been increased to 1mb.
– Updated the flag bits with the SDK documentation for the SGMLGetParameterFlags function.
Data View
– Corrected issues with the edit action process for a number of API items. If a Data View Object is used (opened with the DataViewGetObject function), the edit actions are tracked. If the window handle is used, the edit actions are not tracked. This impacts the following functions:
DataViewCellSetByName
DataViewCellSetName
DataViewCellSetStyle
DataViewCellSetText
DataViewDeleteRow
API Menu Function Layer
– Added the following automation parameters to functions that can be sent to the RunMenuFunction function:
IMAGE_FILTER_CONTRAST
IMAGE_RESIZE_CANVAS
IMAGE_RESIZE_IMAGE
– Added parameters and automation to the FILE_SAVE_AS RunMenuFunction function for Image VIew. Only JPG has parameters at the moment.
– Corrected a problem with specifying a view (‘view’ parameter) for the FILE_IMPORT_TO_FILE RunMenuFunction function.
– Corrected an issue with the returned ‘GlobalLogHandle’ parameter for the EDIT_FIND_IN_FILES RunMenuFunction function.
– Corrected an issue with the returned ‘InfoViewTab’ handle parameter for the EDGAR_SUBMIT_TEST, EDGAR_SUBMIT_LIVE and other functions for the RunMenuFunction function that return an Information View tab. [LS-311 5.25bd]
1.3 IDE Improvements
Open Include File
– Improved the logic for the right-click context menu Open Include File feature. This feature will now search for a filename, a relative path, or a fully qualified path, between two quotes (‘“‘) or between ‘<‘ and ‘>‘ characters. This resolves an underlying issue where script comments would cause the feature to treat the comment as part of the file to open, resulting in a syntax error.