Hello there !
I have an issue I can't figure out, I was hoping someone could help me.
I'm building myself a show to quickly start from scratch. I have presets for many different fixtures already programmed so I can Clone easily.
I like working with colors on the playbacks page, with many macros. As it takes a ridiculous amount of time to program a lot of macros, I am looking for a better way with LUA scripts.
I first thought of a script to -- select group, select ColorPreset and than "record cue one", merge -- in the cuelist directory, on existing cuelists already on the playback page ( and already referenced with macros )
However, I couldn't figure out a way to replace or merge cue one on an existing cuelist with a LUA script.
My second idea was to pre-program the playbacks with a preset from a random fixture, and then, with a script, to -- select group, select ColorPreset for the fixture I cloned, record and merge -- on the presets pre-programmed on playbacks.
However, playbacks "plays" the preset only for the fixture that was pre-recorded, it doesn't play the other fixture I merged on that same preset.
I'm sorry if it looks confusing, I tried to be as clear as possible.
Would anybody have an idea that would fix my problem ? I feel like I am doing something stupid that messes everything up.
Thank you so much in advance!
And here's the script I tried modifying a little, which seemed like it could work, with a little bit more work on it and of course if the parameters merged to the preset would "play" on the playbacks.
fixtureGroupNumber = 1 -- The fixture group to be used
presetNumberStart = 141 -- First color preset to be copied to presets recorded on playbacks
presetNumberEnd = 146 -- Last color preset to be copied to presets recorded on playbacks
presetNumberCopy = 1 --
ClearProgrammer(); -- Make sure the programmer is cleared
counter = 1
for presetNumber = presetNumberStart, presetNumberEnd do
-- Select fixtures and presets and record cuelist in the cuelist directory
string presetName = GetColorPresetName(int presetNumberCopy) --- can't make this work -- "expected to close `(` near `presetNumberCopy`
RecordColorPreset(presetNumberCopy, string presetName, true) --- only works when I enter the name "Test"
counter = counter + 1
presetNumberCopy = presetNumberCopy + 1
ClearProgrammer(); -- Make sure the programmer is cleared in the end