User Tools

Site Tools


macros:example:palettechasechanger_v3

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:palettechasechanger_v3 [2018/08/27 17:03] – [Explanation] icke_siegenmacros:example:palettechasechanger_v3 [2022/01/05 16:42] (current) – external edit 127.0.0.1
Line 36: Line 36:
 <code xml> <code xml>
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
-<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instancexsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">+<avolites.macros
 + 
 +<!-- 
 +    Note the different numbering: 
 +    - "Location=Positions,1,68is 1-based'Positions,1,68' refers to the 68th item on page 1 of the Positions window 
 +    ("Positions",0,69) [0-based] refers to to item 70 on page 1 of the Positions window 
 +    - ("Positions", 89) [0-based] refers to item in slot 90 of the current page of the Positions window 
 +--> 
   <macro id="UpTwoColorChange" name="Up Two Change">   <macro id="UpTwoColorChange" name="Up Two Change">
-  <!-- This swops palette 1,71 with 1,68 and 1,72 with 1,69. -->+  <!-- This replaces palette 1,71 with 1,69 and 1,72 with 1,70. -->
     <sequence>     <sequence>
       <step>ActionScript.SetProperty.Boolean("Programmer.BlindActive", true)</step> <!-- go blind -->       <step>ActionScript.SetProperty.Boolean("Programmer.BlindActive", true)</step> <!-- go blind -->
Line 44: Line 52:
       <step>Attribute.Mask.IncludeAll("Palette")</step>  <!-- ??? -->       <step>Attribute.Mask.IncludeAll("Palette")</step>  <!-- ??? -->
       <step>Group.RecallGroupNumeric(17)</step>  <!-- recall group #17 -->       <step>Group.RecallGroupNumeric(17)</step>  <!-- recall group #17 -->
-      <step>Palette.ApplyPalette("Location=Positions,0,68", false)</step>  <!-- set to palette Pos 0,68 -->+      <step>Palette.ApplyPalette("Location=Positions,1,69", false)</step>  <!-- set to palette Pos 1,69 -->
       <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Positions,1,71")</step>       <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Positions,1,71")</step>
       <step>Palette.StoreCurrentPaletteReplace()</step>  <!-- store as palette 1,71 -->       <step>Palette.StoreCurrentPaletteReplace()</step>  <!-- store as palette 1,71 -->
Line 50: Line 58:
         false, Expert.ClearMenu.FadeTime)</step> <!-- clear -->         false, Expert.ClearMenu.FadeTime)</step> <!-- clear -->
       <step>Group.RecallGroupNumeric(17)</step> <!-- recall group #17 -->       <step>Group.RecallGroupNumeric(17)</step> <!-- recall group #17 -->
-      <step>Palette.ApplyPalette("Location=Positions,0,69", false)</step>  <!-- set to palette Pos 0,69 -->+      <step>Palette.ApplyPalette("Location=Positions,1,70", false)</step>  <!-- set to palette Pos 1,70 -->
       <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Positions,1,72")</step>       <step>ActionScript.SetProperty("Palette.CurrentPaletteHandle", handle:"Location=Positions,1,72")</step>
       <step>Palette.StoreCurrentPaletteReplace()</step>  <!-- store as palette 1,72 -->       <step>Palette.StoreCurrentPaletteReplace()</step>  <!-- store as palette 1,72 -->
Line 61: Line 69:
      
   <macro id="UpChaseMove" name="Up Chase Move">   <macro id="UpChaseMove" name="Up Chase Move">
-    <!-- This shifts palettes 1,60~69 in pairs. -->+    <!-- This shifts palettes 1,61~70 in pairs. -->
     <sequence>     <sequence>
       <step>Handles.SetSourceHandleFromHandle(Handles.GetHandle("Positions",0,69))</step>       <step>Handles.SetSourceHandleFromHandle(Handles.GetHandle("Positions",0,69))</step>
Line 73: Line 81:
       <step>Handles.ClearSelection()</step>       <step>Handles.ClearSelection()</step>
              
-      <!-- add more pairs to shift palettes here, see full file +      <!-- add more pairs to shift palettes here, see full file --> 
     </sequence>     </sequence>
   </macro>     </macro>  
Line 91: Line 99:
  
 >> => Jonas Nijs's ColourChaseChanger(v2) macro is very very useful. But it's a little uncomfortable to use in busking show, becuase it need some step to copy palettes. So I made a macro which circulate 8 palettes with one button. If you wan to circulate 10 or more, you can edit it. >> => Jonas Nijs's ColourChaseChanger(v2) macro is very very useful. But it's a little uncomfortable to use in busking show, becuase it need some step to copy palettes. So I made a macro which circulate 8 palettes with one button. If you wan to circulate 10 or more, you can edit it.
 +
 +<fs x-large>**Note the different numbering:**</fs>
 +  - "Location=Positions,1,68" is 1-based. 'Positions,1,68' refers to the 68th item on page 1 of the Positions window
 +  - ("Positions",0,69) [0-based] refers to to item 70 on page 1 of the Positions window
 +  - ("Positions", 89) [0-based] refers to item in slot 90 of the current page of the Positions window
 +
 ===== How to use it ===== ===== How to use it =====
  
macros/example/palettechasechanger_v3.1535389387.txt.gz · Last modified: 2018/08/27 17:03 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki