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.
Legato Short Tutorials:
Short tutorials are best viewed in serial order and briefly cover various aspects of the scripting language while presenting the viewer with sample scripts that demonstrate each topic.
01. Hello, Y’all
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.
||MessageBox, OkCancelBox, AddMessage, FileToString, ExplodeString, ArrayGetElementsUsed
02. Dialog Boxes
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.
03. Program Flow
Part One: Project Entry
A discussion of the various methods you can use to start a program in Legato.
Part Two: Conditionals
A discussion of conditional statements, including the ‘if’ and ‘switch’ statements.
||GetFileAttributeString, InString, WordParseGetWord
Part Three: Loops
A discussion of loops, including the ‘while’ and ‘for’ statements and the ‘continue’ and “break’ statements.
||WordParseGetWord, WordParseGetPosition, WordParseSetPosition, GetTagElement, ArrayGetAxisDepth, ArrayGetKeyName, AddMessage
Part Four: Exit
A discussion of how to exit a function or script using the ‘return’ and “exit’ statements.