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.

Legato Basic

https://www.novaworkssoftware.com/legato/current/legatobasic.zip

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.

Revised: February 23, 2021

Legato Integrated Development Environment (IDE)

https://www.novaworkssoftware.com/legato/current/legatoide.zip

This 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.

Revised: February 23, 2021

Legato Release Notes
Version 1.2s (02/23/2021)
GoFiler 5.6c

1.0 Legato Script Language Notes 

1.1 IDE

1.1.1 Debug Property Inspector

–  Corrected an issue with the property inspector key names on arrays sometimes not appearing.

1.2 API Functions

1.2.1 Changes and Improvements

–  Added support for attachments/multi-part email to the EmailSendMessage function.

–  Added an option for non-queued direct send email to the EmailSendMessage function.

–  Added a non error last error return value of the parse word position to the GetNthWord function. The function will now give the position of the retrieved word when you use the GetLastError function.

1.2.2 New Functions

Date Functions

–  EnumerateTimeZones — Returns a list of all known time zones for the system.

–  GetLocalTimeForZone — Gets the local time and date for a specific zone.

–  GetTimeZoneBias — Returns the difference between the locale and UTC in minutes.

–  GetTimeZoneInformation — Returns time zone information for the system locale.

–  GetTimeZoneOverride — Returns Time Zone Override.

–  IsDaylightSavingsTime — Test whether the current locale is operating under daylight savings time.

–  StringToTimeZone — Converts ISO-8601 to formatted time zone data.

–  StringToTimeZoneBias — Converts ISO-8601 to UTC bias.

File Types

–  ContentTypeToFileType — Translate a MIME Content Type to a file type.

–  FileTypeToContentType — Translate file type or code to a mime content type.

SGML Object

–  SGMLEnumerateErrors — Returns an array of any errors in the error buffer from the last tag parsed.

–  SGMLHasErrors — Returns the error status of the currently parsed tag.

Status Bar

–  StatusBarGetMessage — Returns currently displayed status message and color.

–  StatusBarSetMessage — Sets text into the message area of the status bar with optional color.

–  StatusBarSetProgress — Sets or clears the progress bar on the status bar.

String

–  ConvertSingleSpaces — Converts multiple spaces to single spaces, trims front and back.