User Tools

Site Tools


macros:example:setleecolour

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:setleecolour [2025/06/10 13:36] – created icke_siegenmacros:example:setleecolour [2025/06/11 12:32] (current) – [Code] icke_siegen
Line 17: Line 17:
   * [[:macros:function:Group.StoreGroup]]   * [[:macros:function:Group.StoreGroup]]
   * [[:macros:function:ActionScript.SetProperty.Boolean]]   * [[:macros:function:ActionScript.SetProperty.Boolean]]
-  * [[:macros:function:SetBlindMode]]+  * [[:macros:function:Programmer.SetBlindMode]]
   * [[:macros:function:Group.RecallGroupNumeric]]   * [[:macros:function:Group.RecallGroupNumeric]]
   * [[:macros:function:Colour.ApplyColourFilterByIndex]]   * [[:macros:function:Colour.ApplyColourFilterByIndex]]
Line 33: Line 33:
 ===== Code ===== ===== Code =====
 <code xml setLeeColours.xml> <code xml setLeeColours.xml>
-?xml version="1.0" encoding="utf-8"?>+<?xml version="1.0" encoding="utf-8"?>
 <avolites.macros> <avolites.macros>
  
Line 63: Line 63:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+  * ''Group.CheckIfGroupExists()'' checks whether group 999 already exists 
 +  * if yes then ''Group.ReplaceGroupOnHandle()'' replaces the group with the currently selected fixtures 
 +  * if no then ''Group.StoreGroup()'' stores group 999 with the currently selected fixtures 
 +  * ''ActionScript.SetProperty.Boolean("Programmer.BlindActive", true)'' and ''Programmer.SetBlindMode(false, 0)'' enter the Blind mode (see [[macros:example:blindmodeonoff]] for details) 
 +  * ''Group.RecallGroupNumeric()'' recalls the group with the currently selected fixtures (remember: Blind has its own programmer) 
 +  * ''Colour.ApplyColourFilterByIndex()'' applies the Lee colour based on the number which was set prior to firing the macro (you need to type a number **and then press ENTER or EXIT**!) 
 +  * we exit Blind mode again and ''Programmer.SetBlindMode(true, 1)'' makes sure it is faded to live
  
 ===== How to use it ===== ===== How to use it =====
  
 +  - make sure group 999 is nowhere used (or rewrite the macros to use another group number)
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
- +  - select some fixtures 
-tbd+  - type a number and **press ENTER** (or EXIT) 
 +  - fire one of the macros
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/setleecolour.1749562616.txt.gz · Last modified: 2025/06/10 13:36 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki