macros:formats_and_syntax
Formats and syntax
This wiki attempts to introduce you to writing macros even if you had not studied computer science. However, it is like reading and writing: there is some spelling and grammar to adhere to, and knowing the basic rules makes life easier. You'll soon get used to it, and will refer back to this documentation only in rare cases.
In turn, sorry to every trained computer software designer: this might eventually read like 'writing macros for dummies' - and this is by purpose
There are several formats and notation conventions which are used in macro files, and others which are used in this documentation.
further readings
- Console and simulator - how actions on the consoles are described
- Recorded vs. coded macros - both kinds: Country, AND Western
- Macro file format - what to observe when creating macro files
- Macro Folders - where exactly are the macro files stored
- Deploying macros - how to import a macro file into Titan
- XML format - a veeeery basic introduction into the format macro files are written in
- The Syntax of Functions - understanding how functions are described in general
- Control Structures - conditions and other means to control the flow
- Action and Menus - when a menu needs to be toggled in addition to the action
- Step Pause - a little delay might sometimes be helpful
- Active Binding - highlighting a macro handle as active
- Namespaces - a way to keep order of the functions, properties and other stuff
- Datatypes - numbers, words, yes & no: the various types of values
- Properties list - the affected system variables of Titan
- Function list - the functions mentioned in this wiki
- Examples list - all the contributed macros. And where is yours?
macros/formats_and_syntax.txt · Last modified: 2020/04/19 10:15 by 127.0.0.1