So this is my ongoing project at the moment.
Just for testing I have 36 RGB Parcans patched and also added into the 2D view in two rows of 18. I have created various colour presets for them.
I have a chase stored in a playback button (Page 1, Button 13) that has two cues in, each with a different colour. I have also added a delay on to each cue of 0 > 1.
Through LUA Scripting triggered by playback buttons, I want to be able to update (either using the update function or record and merge) the colour of either of the cues in the chase.
This is my script
(Playback button 16 is blank but has a macro included to select the chase playback button)
Which when I manually enter each command into MPC Tools, it works perfectly. But when having all the commands together within a .lua file and that being triggered as an external macro through a playback button, it doesn't work.
Group 1 is all 36 parcans, it then selects the chase playback button, records cue 1 and merges the data values (so to keep the delay information) and then presses go on the playback button, and finally clears the programmer. When singly inputting the lua commands into MPC Tools, everything works fine. But when I use a .lua file and trigger it via a playback button, my chase button releases, the parcans go red, and the programmer is not cleared.
Can anyone help? @Sylvain_Guiblain???