macros:example:shutdown
This is an old revision of the document!
Table of Contents
Example
Shutdown
by: | Marc Heimendinger |
---|---|
published: | March 2018 |
description: | Shuts Titan down. |
remarks: | This affects only the Titan 'surface' program which is shut down without prompt. The Titan Server is not affected and keeps running. |
functions
Code
- shutdown.xml
<?xml version="1.0" encoding="utf-8"?> <avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd"> <!-- Shuts down the console (without prompt !). Marc Heimendinger 11/03/2018 --> <macro id="Avolites.Macros.ShutDown" name="Shutdown"> <description>Shuts down the console (without prompt !).</description> <sequence> <step pause="0.01">Titan.Shutdown()</step> </sequence> </macro> </avolites.macros>
Explanation
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
This simply applies the function Titan.Shutdown() whci immediately - and without prompt - shuts Titan down. however, only the 'Surface' program is affected (e.g. TitanOne, Titan Simulator etc) - Titan Server is not affected and keeps running in the background.
How to use it
- Fire this macro to immediately shut Titan down.
You could leave a comment if you were logged in.
macros/example/shutdown.1521810643.txt.gz · Last modified: 2018/03/23 13:10 (external edit)