Hello,
I have been fighting whole day with that, so before I give up, I will ask here:
I am trying to create custom button that will automatically place on the waveform action cue with a given script.
set_cue & cue_action 'os2l_button 1 "1" on'
The above does not work as both "set_cue" as well as "cue_action" need to get cue number as parameter e.g.:
set_cue 1 & cue_action 1 'os2l_button 1 "1" on'
The challange is that the intention is to have this parameter dynamic. Every time I press the button I would like to have "new" action cue created with the same script.
I was able to cast parameter from dynamic variable to set_cue, but not to cue_action:
This works*:
cycle 'counter' 999 & get_var 'counter' & param_cast 'integer' & set_cue & cue_action 1 'os2l_button 1 "1" on'
* - action is assigned to Cue 1, not to Cue created as per the number in variable "counter".
This does not work:
cycle 'counter' 999 & get_var 'counter' & param_cast 'integer' & set_cue & get_var 'counter' & param_cast 'integer' & param_add ' "os2l_button 1 "1" on"' & cue_action
Do you have any ideas how to handle the above? I know that I can create a script where I manually list e.g. 20 cue creations with conditions if they exist, and then I can use them that way, but I would like to avoid this approach for any matter.
I have been fighting whole day with that, so before I give up, I will ask here:
I am trying to create custom button that will automatically place on the waveform action cue with a given script.
set_cue & cue_action 'os2l_button 1 "1" on'
The above does not work as both "set_cue" as well as "cue_action" need to get cue number as parameter e.g.:
set_cue 1 & cue_action 1 'os2l_button 1 "1" on'
The challange is that the intention is to have this parameter dynamic. Every time I press the button I would like to have "new" action cue created with the same script.
I was able to cast parameter from dynamic variable to set_cue, but not to cue_action:
This works*:
cycle 'counter' 999 & get_var 'counter' & param_cast 'integer' & set_cue & cue_action 1 'os2l_button 1 "1" on'
* - action is assigned to Cue 1, not to Cue created as per the number in variable "counter".
This does not work:
cycle 'counter' 999 & get_var 'counter' & param_cast 'integer' & set_cue & get_var 'counter' & param_cast 'integer' & param_add ' "os2l_button 1 "1" on"' & cue_action
Do you have any ideas how to handle the above? I know that I can create a script where I manually list e.g. 20 cue creations with conditions if they exist, and then I can use them that way, but I would like to avoid this approach for any matter.
Mensajes 22 minutes ago





