BECOME PART OF THE COMMUNITY - Sign up here
  • Just wondering how to set values in the Cmd value of a cue.

    Created this sequence using:

    Store Sequence 99 Cue 1

    Select Sequence 99

    Label Cue 1 "on"

    but then I'm stuck in finding how to set some command value in Cmd using commandline (LUA)

    for a macro step, I used this:

    Cmd('Store Macro ' .. macroNo .. '.1 "" Command \'SetUserVar "testing" "value" \'');

    but this is not working on cues.

    I was able to update CmdDelay using Set Cue 1 CmdDelay 5 for example, but wondering which keyword is needed to update the Cmd value in a cue

    Edited once, last by Haypro (March 9, 2022 at 10:39 PM).

  • So how would you do this for a selected field / cue?

    For instance I'm trying to create a macro to help setting a speed master on the first cue of a song.

    Macro:

    SetUserVariable NewBPM = ("Enter Speed Master BPM")

    SetUserVariable BpmCmd = "Master 3.1 at BPM "$"NewBPM"

    Set Property "command" $BpmCmd

    Two issues:

    1) The string concatenation isn't working correctly.

    2) Illegal Property "command"

    Desired workflow.

    1) Press the desired Command column field on the desired cue.

    2) Press the macro preset.

    3) Type a speed value. (example:123)

    4) Press Enter and done.

    Cue Command column should then contain:

    Master 3.1 at BPM 123

  • Two issues:

    1) The string concatenation isn't working correctly.

    2) Illegal Property "command"

    1. don't use equal sign in the variable assignment

    2. quote the recall of the variable

    + address the cuepart (of the current cue), to prevent value to be directed to all cues if no current cue exists (the sequence is off)

    SetUserVariable NewBPM ("Enter Speed Master BPM")

    SetUserVariable BpmCmd "Master 3.1 at BPM "$"NewBPM"

    Set Part 0 Property "Command" $"BpmCmd"


    For instance I'm trying to create a macro to help setting a speed master on the first cue of a song.

    Set Cue "CueZero" Property "Command" "Master 3.1 at BPM "("Enter Speed Master BPM")


    Desired workflow.

    1) Press the desired Command column field on the desired cue.

    2) Press the macro preset.

    3) Type a speed value. (example:123)

    4) Press Enter and done.

    Plausible workflow:

    1) Press the macro preset

    2) Press the desired cue in the seq sheet, any field (or type cue x)

    3) Type a speed value. (example:123)

    4) Press Enter and done.

    ChangeDestination [Execute = No]

    Set 0 Property "Command" "Master 3.1 at BPM "("Enter Speed Master BPM")

    ChangeDestination Root

  • Thank you!

    That required flipping the keypress order, but it worked great!

    1) Press Macro

    2) Press desired Command column field.

    3) Enter speed value in input dialog box

    4) Press enter and it's done.

    Thank you!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!