Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Query a hotcue color .. need help
Quick script question. What is the best way to query the color of a hotcue?

Wish to set the color of a LED pad (w the LED Mapping script) based on the color of the hotcue.
(the hotcue can have different colors depending on its POI action)

have tried things like:

cue_color 29 'red' ? color 'red" : ....

color `cue_color 29`

color `cue_color 29 & param_cast 'text'`

color `cue_color 29 & param_cast 'hex'`

color `cue_color 29 & param_cast`


what's missing ?

help ?

 

Posted Mon 01 Jul 24 @ 10:29 pm
Solved:

cue_color 29 & param_cast 'text' & color


works
 

Posted Mon 01 Jul 24 @ 10:38 pm
AdionPRO InfinityCTOMember since 2006
cue_color 29 already returns a color, so not sure why you need the two casts
 

Posted Tue 02 Jul 24 @ 4:54 am
Yesssss .. was over complicating it ..

Very simply :)

Thanks
you Rock !!
 

Posted Tue 02 Jul 24 @ 5:42 am