Scripts are a strong point of TRASSIR. Scripts allow you to automate typical operations, simplify the operator's work, and make integrations. In addition, scripts are fun!
Scripts are written in the Python language.
- Python is the easiest language to learn, a syntax language. Also, the Python is a general-purpose language, which is not limited to a predefined set of functions. You can do anything you want with it, that is, read files and communicate with people over the network. You can find more information on python.org.
- The script can read and change settings of servers, invoke objects' methods, take screenshots, export video, and interact with the user.
- Functions activation (calling) can be done by various events:by object status change, by button pressing, via call from context menu, by the event in the log, by AutoTRASSIR event, by ActivePOS event, by timeout.
- Thanks to the user-friendly interface you can set parameters with a script and use additional resources and libraries in the script itself.
- To protect the script as your intellectual property, it can be encrypted.
Where do you begin?
Start with the examples. The button to load examples is located below the editor. The first four examples are pedagogical; the remaining examples offer various interesting ideas.
You can also begin with the rule editor. Internally, rules work by creating scripts. At the bottom of the editor, there is a button to copy the script's code to the clipboard. The copied code can be pasted into a script and edited.

