Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Mapping get index of last cue set/played
Wondering if there is a way to get the index of the last cue point "interacted" with (created/played) without needing to set a custom variable everywhere a cue could be set.

I'm trying to set up a macro to open the cue naming dialog / directly setting the value to some common cue names I'd like to use (intro, outro, etc).

Trying cue_name on its own doesn't work, same goes with cue_name active, which would be nice as that's the format that decks use. Lastly I tried cue_name get_cue but that didn't seem to do anything.

I couldn't really find any info on getting the last cue interacted with in the docs or the mapping window. Wondering if anyone knows if such a feature exists, or if the way forward is to set a global variable manually
 

Posted Tue 10 Jan 23 @ 5:23 am
locoDogPRO InfinityModeratorMember since 2013
param_equal get_cue 1 ? cue_name 1 : 
param_equal get_cue 2 ? cue_name 2 :
param_equal get_cue 3 ? cue_name 3 :
param_equal get_cue 4 ? cue_name 4 :
param_equal get_cue 5 ? cue_name 5 :
param_equal get_cue 6 ? cue_name 6 :
param_equal get_cue 7 ? cue_name 7 :
param_equal get_cue 8 ? cue_name 8 :


there is a shorter way to write this but, the script errors at the moment
 

Posted Tue 10 Jan 23 @ 10:49 am