Sign In:     


Forum: VirtualDJ Technical Support

Topic: VDJ Scripts
So have been messing around with scripting hot cue colors... and have run into a brick wall.... I'm trying to script changing cue colors but cues 9 to 16. As far as I can tell, this is not scriptable.... or am I missing something ?
 

Posted 3 days ago @ 1:05 pm
What is your script, that seems not to work?

Something like:

set_cue 9 & cue_color 9 'green' 

will set hotcue 9 as green.



Currently can script almost everything for a hotcue.

Script an ACTION to be performed at the hotcue: cue_action
Name the hotcue: cue_name

the things that cannot be set for hotcue are:
change the Visible, Invisible attribute
change a hotcue to be the "LoadPoint"

everything else can be done with script



VDJ is amazing !
 

Agree. VDJ is amazing and scripting makes it even more so.

But when I setup your suggested script as a custom button, it DOES set up cue 9, but does not color the cue on the timeline for some reason. I'm running this on my desktop version of VDJ with no controller

I invoked AI for some suggestions to color cues 9-16 in the waveform, and none of those worked either.

Now with that said, your script WILL change the colors for cues 1-8, even if already a different "pre-set" color, but won't change the color for cues 9 - 16.

And appreciate your suggestion.

Hoping there IS a way to script this,..... just don't know how.
 

The script above should work. Just make sure you don't have autoSortCues option enabled.
PS: The script doesn't care for the number you use.
You can literally use set_cue 134 & cue_color 134 '#FF8040' and it will still work.
 

have tested, I've had cues numbered in the 1000's :)