Macros & Scripts

   Print  Previous  Next

Introduction

MADRIX features its own scripting language. With this programming language you can create scripts or macros for MADRIX. You may use it to create your own light effects, as was described in the previous chapter. In addition, it may be used to control and manipulate running effects.

 

Usage

Effect Macro ButtonThis button points towards the option to use macros or scripts.

The term Scripts refers to the MAS Script Effect. Macros are used on top of effects or the output.

Currently, there are four possibilities to use <%PRODUCTNAME_SCRIPT%>.

MAS Script Effect        - The first option to create a new effect from scratch.
Macros for Effects         - The second option involves modifying the settings of a running effect.
Main Output Macro - The third possibility controls the main output directly.
Storage Place Macro - Fourth, you can use storage place macros to control every single storage place individually ).

 

On the one hand, macros can be used to manipulate the outcome of an effect. Examples include rendering parts of effects transparent or changing the color via a grey filter. On the other hand, macros can be used to change settings of an effect. A macro can set the text of the SCE Ticker effect to current time, for example. Each effect is equipped with a "Macro" button. Simply click it to call up the Macro Editor. Use the window to write, load, and edit existing macros. Each Storage Area has one macro button, and the Fade Area includes the button to the Main Output Macro. The MAS Script Effect does have one button for scripts and a standard button for a macro.

 

The complete MADRIX Script Language is described in the MADRIX Script Help. You can find this documentation in the Windows Start Menu -> All Programs -> MADRIX -> Documentation -> MADRIX Script Help. For further information please read this documentation.