Store Palette
Posted: 19 Jun 2020, 08:28
Hi, I am trying to store a palette with programmer.
It doesn't work. Only "Palette.StoreCurrentPaletteReplace()" works but I want to make a new palette not to replace old one.
Any help would be appreciated.
Code: Select all
<step pause="0.01">Selection.Context.Programmer.SelectFixtures("Fixtures", {1,2,3})</step>
<step pause="0.01">Programmer.Editor.Fixtures.SetControlValueById(240,1,1,true,true)</step>
<step pause="0.01">Programmer.Editor.Fixtures.SetControlValueById(256,1,0,true,true)</step>
<step pause="0.01">Programmer.Editor.Fixtures.SetControlValueById(272,1,0,true,true)</step>
<step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteNumber",1)</step>
<step pause="0.01">ActionScript.SetProperty("Palette.CurrentPaletteHandle", Handles.GetHandle("Colours",0,0))</step>
<step pause="0.01">Palette.StoreCurrentPalette()</step>
It doesn't work. Only "Palette.StoreCurrentPaletteReplace()" works but I want to make a new palette not to replace old one.
Any help would be appreciated.