User Tools

Site Tools


macros:example:storepalette

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:storepalette [2017/11/29 10:03] – created icke_siegenmacros:example:storepalette [2019/11/15 07:46] (current) yyy898
Line 1: Line 1:
 Example Example
  
-====== Store Palette ======+====== Palette - Store ======
  
 ^ by: |  | ^ by: |  |
 ^ published: | October 2017 | ^ published: | October 2017 |
 ^ description: | Store a Palette | ^ description: | Store a Palette |
-^ remarks: | maybe useful as building block for other macros, and to explain the systax |+^ remarks: | maybe useful as building block for other macros, and to explain the syntax |
  
-{{tag>palette store replace current ]}}+{{tag>palette store replace current}}
  
 ==== functions ==== ==== functions ====
Line 24: Line 24:
     <description>Store Palette 22</description>     <description>Store Palette 22</description>
     <sequence>     <sequence>
-      <step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteHandle", "Location=Colours,2,2")</step>+      <step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Colours,2,2")</step>
       <step pause="0.01">Palette.StoreCurrentPaletteReplace()</step>       <step pause="0.01">Palette.StoreCurrentPaletteReplace()</step>
     </sequence>     </sequence>
Line 43: Line 43:
 [[:macros:deploying|make this macro available]] [[:macros:deploying|make this macro available]]
  
-Essentially this is more an example to show the syntax and use. However you can place some values into the programemr (select fixtures, set attributes), and then call this macro, in order to replace a particular palette.+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.
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/storepalette.1511949809.txt.gz · Last modified: 2017/11/29 10:03 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki