I'm trying to get the current cue number of the selected sequence.
Something like $SELECTEDEXECCUE in GMA2.
I figured it out using following LUA script:
local function main() local selectedSeq = SelectedSequence() local cue = selectedSeq:CurrentChild() local currentcue = cue.index SetVar(UserVars(),"selectedexeccue", currentcue) end return main
It does returns the number of the current cue, but this doesn't work with cue numbers like 1.2 - 4.5 - 8.9 - ...
In this example it returns cue numbers like 1 - 4 - 8 - ....
How can I make this work, and also returns cue numbers after comma?