Viz Trio Macro Language
The Viz Trio macro language lets you script many of the operations that are normally done in the interface. The general syntax is:
Command [argument]Info: Some commands take several arguments, such as command scaling that must have the x-, y- and z- axes specified. See the command list for more information.
Macro commands can be used in three ways:
As part of a shortcut key using the Keyboard Shortcuts and Macros window.
As part of a script using the Script Editor.
As part of an external application where commands are executed over a socket connection.
Overriding User Prompts
The macros you create will often use commands that usually trigger a dialog for user input.
For example page:delete 1000 will normally ask for user-confirmation of a deletion.
To override user prompts
You can override pop-up menu behavior with the following modes:
gui:set_silent_mode: Controls whether to show dialogues to the user.
gui:set_interactive_mode: Controls whether to show dialogues to the user.
This section covers the following topics: