Legato Short Tutorials
Below, training and tutorial videos are available to help you discover Legato and learn more about how to create programs using the Legato Scripting language. Sample files of the scripts used in each video are also available.
Instructional videos can also be accessed by subscribing to our YouTube channel.
01. Hello, Y’all
View (11:12)
A demonstration of how to use the Legato Scripting Language to create a simple “Hello World” program. This video also discusses language syntax and variables and contains a few other script examples to demonstrate different types of variables.
Primary Functions: MessageBox, OkCancelBox, AddMessage, FileToString, ExplodeString, ArrayGetElementsUsed
Download: Samples
02. Dialog Boxes
View (20:56)
A demonstration of how to create and use dialog boxes with the Legato Scripting Language. This video also discusses dialog controls, property sheets, and validation.
Primary Functions: DialogBox
Download: Samples
03. Program Flow
Part One: Project Entry
View (6:01)
A discussion of the various methods you can use to start a program in Legato.
Primary Functions: GetLocalTime, MessageBox
Download: Samples
Part Two: Conditionals
View (7:00)
A discussion of conditional statements, including the ‘if’ and ’switch’ statements.
Primary Functions: GetFileAttributeString, InString, WordParseGetWord
Part Three: Loops
View (7:12)
A discussion of loops, including the ‘while’ and ‘for’ statements and the ‘continue’ and “break’ statements.
Primary Functions: WordParseGetWord, WordParseGetPosition, WordParseSetPosition, GetTagElement, ArrayGetAxisDepth, ArrayGetKeyName, AddMessage
Part Four: Exit
View (2:53)
A discussion of how to exit a function or script using the ‘return’ and “exit’ statements.
Primary Functions: N/A