Table of Contents

Example

Palette - Store

by:
published: October 2017
description: Store a Palette
remarks: maybe useful as building block for other macros, and to explain the syntax

functions

affected properties

Code

storepalette22.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
  <macro id="Avolites.Macros.StorePalette22" name="Store Palette 22">
    <description>Store Palette 22</description>
    <sequence>
      <step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Colours,2,2")</step>
      <step pause="0.01">Palette.StoreCurrentPaletteReplace()</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

How to use it

make this macro available

Essentially this is more an example to show the syntax and use. However you can put some values into the programmer (select fixtures, set attributes), and then call this macro, in order to replace a particular palette.