macros:example:changecolorchaseold

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:changecolorchaseold [2017/10/29 16:35] – ↷ Page moved from example:changecolorchaseold to macros:example:changecolorchaseold icke_siegenmacros:example:changecolorchaseold [2018/04/02 09:07] (current) icke_siegen
Line 1: Line 1:
 +Example
 +
 ====== ColourChaseChanger (old style) ====== ====== ColourChaseChanger (old style) ======
  
Line 8: Line 10:
 ^ ::: | [[http://forum.avolites.com/viewtopic.php?f=20&t=4823|In the original post]] there is also a short manual linked which you might find helpful. | ^ ::: | [[http://forum.avolites.com/viewtopic.php?f=20&t=4823|In the original post]] there is also a short manual linked which you might find helpful. |
  
 +{{tag>change chase blind colour recorded}}
 ==== functions ==== ==== functions ====
   * [[macros:function:menu.stack.pushorreloadmenu]]   * [[macros:function:menu.stack.pushorreloadmenu]]
Line 76: Line 79:
 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+As this is a recorded macro, instead of explaining the function, we translate the button presses (see [[macros:console_and_simulator]] for an explanation of how this is written here), and explain their results: 
 + 
 +<code> 
 +  <Blind>                        // enter blind mode 
 +  <Group> <1> <0> <0> <Enter>    // group 100 
 +  <View> [C](olours)             // opens/activates colour palette window 
 +  [Colour Palette Button 35]     // set selected fixture group to colour 34 
 +  [Colour Page 2]                // change page in colour palette window 
 +  <Record>  
 +    [Colour Button 1]  
 +    [Replace]                    // this replaces the colour palette  
 +  [Colour Page 1]                // change page in colour palette window 
 +  [Colour Palette Button 36]     // set selected fixture group to colour 35 
 +  [Colour Page 2]                // change page in colour palette window 
 +  <Record>  
 +    [Colour Button 2]  
 +    [Replace]                    // this replaces the colour palette  
 +  [Colour Page 1]                // change page in colour palette window 
 +  <Clear>                        // clear programmer 
 +  <Blind>                        // exit blind mode   
 +</code>   
 + 
 +Effectively we enter blind mode, replace the palettes which are used for some chasers with other colours (which are taken from other colour palettes), and exit blind mode again.
  
 ===== How to use it ===== ===== How to use it =====
Line 83: Line 108:
   - make a color chase that uses color pallets   - make a color chase that uses color pallets
   - place those color pallets on the color pallets windows page 2 positions 1 and 2   - place those color pallets on the color pallets windows page 2 positions 1 and 2
-  - create a group for all the fixtures used in that color chase and give that group ID 100+  - create a group for all the fixtures used in that color chase and give that group usernumber 100
   - when you want to change the colors, place the 2 new colors you want on the color pallets page 1 positions 35 and 36 (will be the two bottom right ones when you go full screen and supper size.   - when you want to change the colors, place the 2 new colors you want on the color pallets page 1 positions 35 and 36 (will be the two bottom right ones when you go full screen and supper size.
   - run the macro and have fun.   - run the macro and have fun.
Line 89: Line 114:
 [[http://forum.avolites.com/viewtopic.php?f=20&t=4823|In the original post]] there is also a short manual linked which you might find helpful. [[http://forum.avolites.com/viewtopic.php?f=20&t=4823|In the original post]] there is also a short manual linked which you might find helpful.
  
-tbd+//That's a perfect example for both: what you can acchieve with macros, and where the limits are. In that case, the use of variables would be really helpful. E.g. if I could pass target and source palette numbers as argument, I could easily re-use this macro many times. Another possible error: this macro assumes that the colours window opens on the correct page, which might not be the case. [S. Beutel]//
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/changecolorchaseold.1509294946.txt.gz · Last modified: 2017/10/29 16:35 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki