macros:example:createdummypalettes
This is an old revision of the document!
Table of Contents
Example
Create Dummy Palettes
by: | Sebastian Beutel |
---|---|
published: | August 2023 |
description: | idea: Discord, @TEMO patch a dummy fixture, create colour palettes, remove dummy fixture This is a really huge macro which documents a lot of programming techniques, e.g. patching a fixture, setting values in the programmer, creating palettes, storing cues and cuelists |
remarks: | start a new show and fire this macro. It will create global colour palettes for you. |
This was the plan:
What needs to be done :
- Unpack Macro needs to create the Dummy palettes 1 through 10, 11 through 20
- Unpack Macro needs to create the Bump Palletes 101 & 102
- Unpack Macro needs to create Playbacks( 11 thro 20, 21 thro 30, 31 thro 40 & Cuelists ( 101 thro 110 ) for the Macros
- Unpack Macro needs to Link Macros to Cues in Playlist
- Unpack Macro needs to record the Playback Groups for the Bump Selection
- Unpack Macro needs to create a Layout View and move the Selection Cue Lists to the Colour picker
- Layout at position X & Y
- Unpack Macro needs to add the Colour Selection Button Macros to the layout view
functions
affected properties
control structures
Full file here: createdummypalettes.xml
Code
- createDummyPalettesShort.xml
- <?xml version="1.0" encoding="utf-8"?>
- <avolites.macros>
- <!-- at first some dummy macros, to check the linking in the cuelists -->
- <macro id="Wiki.Macros.Dummy.001" name="Dummy Macro 001">
- <description>Dummy Macro 001</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.002" name="Dummy Macro 002">
- <description>Dummy Macro 002</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.003" name="Dummy Macro 003">
- <description>Dummy Macro 003</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.004" name="Dummy Macro 004">
- <description>Dummy Macro 004</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.005" name="Dummy Macro 005">
- <description>Dummy Macro 005</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.006" name="Dummy Macro 006">
- <description>Dummy Macro 006</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.007" name="Dummy Macro 007">
- <description>Dummy Macro 007</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.008" name="Dummy Macro 008">
- <description>Dummy Macro 008</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.009" name="Dummy Macro 009">
- <description>Dummy Macro 009</description>
- <sequence>
- </sequence>
- </macro>
- <macro id="Wiki.Macros.Dummy.010" name="Dummy Macro 010">
- <description>Dummy Macro 010</description>
- <sequence>
- </sequence>
- </macro>
- <!-- the heavy lifting -->
- <macro id="Wiki.Macros.Palette.CreateDummy.001" name="Create Dummy Palettes v.001">
- <sequence>
- <!-- patch an RGB fixture -->
- <step>ActionScript.SetProperty("Patch.CurrentUserNumber", userNumber:999)</step>
- <step>Fixtures.PatchFixturesToVacantHandles("Fixtures", "Expolite", "TourLED 42 CM MKII", "ARC.1, 3 DMX", 1, 3, "")</step>
- <step>Handles.SetSourceHandleFromHandle("fixtureHandleUN=999")</step>
- <step>ActionScript.SetProperty.Enum("Handles.OperationMode", "move")</step>
- <step>Handles.CopyDestination("Fixtures", 99)</step>
- <step>Handles.ClearSelection()</step>
- <!-- select fixture -->
- <step pause="0.1">Programmer.Editor.Selection.SelectFixture(handle:"fixtureHandleUN=999")</step>
- <!-- set some colour values and quick-create palettes -->
- <step>Programmer.Editor.Fixtures.SetControlValueById(240, 1, 1.0, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(256, 1, 0.6, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(272, 1, 0.2, true, true)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 0), "C", userNumber:101, "", 0)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(240, 1, 0.5, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(256, 1, 1.0, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(272, 1, 0.5, true, true)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 1), "C", userNumber:102, "", 0)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(240, 1, 0.0, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(256, 1, 0.3, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(272, 1, 1.0, true, true)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 2), "C", userNumber:103, "", 0)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(240, 1, 0.2, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(256, 1, 0.9, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(272, 1, 0.4, true, true)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 3), "C", userNumber:104, "", 0)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(240, 1, 0.3, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(256, 1, 0.6, true, true)</step>
- <step>Programmer.Editor.Fixtures.SetControlValueById(272, 1, 1.0, true, true)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 4), "C", userNumber:105, "", 0)</step>
- <!-- clear programmer -->
- <step>Programmer.Editor.ClearAll(false, false)</step>
- <!-- create abstract palettes -->
- <step pause="0.1">Programmer.Editor.Selection.SelectFixture(handle:"fixtureHandleUN=999")</step>
- <step pause="0.1">Palette.ApplyPalette("Location=Colours,0,0", false)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 15), "C", userNumber:201, "Foreground", 0)</step>
- <step pause="0.1">Palette.QuickCreatePalette(Handles.CreateHandleReference("Colours", 0, 16), "C", userNumber:202, "Background", 0)</step>
- <step pause="0.1">Programmer.Editor.ClearAll(false, false)</step>
- <!-- create Playbacks (11~20, 21~30, 31~40) & Cuelists (101~110) -->
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 211, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 211)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:11)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 212, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 212)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:12)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 213, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 213)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:13)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 214, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 214)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:14)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 215, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 215)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:15)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 216, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 216)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:16)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 217, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 217)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:17)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 218, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 218)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:18)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 219, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 219)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:19)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 220, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 220)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:20)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 221, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 221)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:21)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 222, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 222)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:22)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 223, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 223)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:23)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 224, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 224)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:24)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 225, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 225)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:25)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 226, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 226)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:26)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 227, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 227)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:27)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 228, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 228)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:28)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 229, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 229)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:29)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 230, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 230)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:30)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 231, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 231)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:31)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 232, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 232)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:32)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 233, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 233)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:33)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 234, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 234)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:34)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 235, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 235)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:35)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 236, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 236)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:36)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 237, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 237)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:37)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 238, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 238)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:38)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 239, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 239)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:39)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step pause="0.1">Playbacks.StoreCue("PlaybackWindow", 240, true)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 240)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:40)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <!-- Cuelists -->
- <!-- <step>ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Playbacks.PlaybackEdit.Handle)</step> -->
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 101)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 101)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:101)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=101")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.001")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 102)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 102)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:102)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=102")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.002")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 103)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 103)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:103)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=103")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.003")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 104)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 104)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:104)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=104")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.004")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 105)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 105)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:105)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=105")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.005")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 106)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 106)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:106)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=106")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.006")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 107)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 107)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:107)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=107")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.007")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 108)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 108)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:108)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=108")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.008")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 109)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 109)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:109)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=109")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.009")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <step pause="0.1">Playbacks.CueList.CreateCueList("PlaybackWindow", 110)</step>
- <step>Handles.SetSourceHandle("PlaybackWindow", 110)</step>
- <step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:110)</step>
- <step>Handles.SetUserNumber()</step>
- <step>Handles.ClearSelection()</step>
- <step>Playbacks.Select.EditHandle("cueListHandleUN=110")</step>
- <step>Playbacks.AppendOrInsertPlaybackStep(Playbacks.PlaybackEdit.Handle,1)</step>
- <step>Playbacks.Editor.CueSelection.SelectCueByNumber(Playbacks.PlaybackEdit.Handle, 1)</step>
- <step>Playbacks.Editor.Macros.AddLinkFromId("Wiki.Macros.Dummy.010")</step>
- <step>Playbacks.PlaybackEdit.Exit()</step>
- <!-- unassign dummy fixture -->
- <step pause="0.2">ActionScript.SetProperty.Boolean("Handles.AllowDeleteFixtures", true)</step>
- <step>Handles.SetSourceHandleFromHandle("fixtureHandleUN=999")</step>
- <step>Handles.ConfirmRelease()</step> <!-- in order to delete use Handles.ConfirmDelete() -->
- <step>ActionScript.SetProperty.Boolean("Handles.AllowDeleteFixtures", false)</step>
- <step><menuLink id="Windows.Playbacks" stack="mainWindowStack" behaviour="PushOrRaise" /></step>
- <step><menuLink id="Windows.Colours" stack="mainWindowStack" behaviour="PushOrRaise" /></step>
- </sequence>
- </macro>
- </avolites.macros>
Explanation
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
tbd
How to use it
You could leave a comment if you were logged in.
macros/example/createdummypalettes.1723233777.txt.gz · Last modified: 2024/08/09 20:02 (external edit)