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 IDE Improvements
– Added a quick key (Ctrl+F7) for script preprocess (check for errors).
1.3 Existing API Changes and Improvements
EDGAR
– Some Legato functions related to the EDGAR Next transitional and beta periods will be removed from the SDK in a later release. At this time, these functions will always return the same value and should not be used.
1.3 New API Functions
EDGAR (Only available in GoFiler)
– GetApplicationEDGARVersion — Returns the EDGAR version supported by the application.
WebView (Only available in GoFiler)
– WebViewCloseWindow — Closes the specified WebView Object.
– WebViewGetContents — Returns the content from a specified WebView Object and optional frame index.
– WebViewGetURL — Returns the current URL for a specified WebView Object.
– WebViewIsBusy — Tests the specified WebView Object for being busy.
– WebViewNavigate — Forces a WebView Object to navigate to a specified URL.
– WebViewOpenTab — Creates a new WebView tab and optionally navigates to a specified URL.
– WebViewOpenWindow — Creates a new WebView popup and optionally navigates to a specified URL.
– WebViewShowWindow — Shows the specified WebView Object.
– WebViewWait — Waits in a message loop for a WebView Object for a specified time.
– JavaScriptAddTopLevel — Injects JavaScript into a WebView Object and returns a JavaScript Object handle.
– JavaScriptGetJSON — Returns any available data from a WebView Object as a JSON Object.
– JavaScriptGetRaw — Returns any available data from a WebView Object as a string.
– JavaScriptIsComplete — Tests whether a specified JavaScript Object is running.
– JavaScriptRun — Injects JavaScript into a WebView Object and returns a JavaScript Object handle.
– JavaScriptSetMessageHandler — Sets a Legato function to handle messages.