BECOME PART OF THE COMMUNITY - Sign up
here
-
The currently selected timecode is available with the following:
CurrentProfile().TemporaryWindowSettings.TimecodeWindowSettings.currentTimecode
If you dump this you can find all of its attributes, but you most likely just want its index.
Hi there,
Thanks a lot for your response, but this is not quite what i'm looking for.
This code returns the latest temporary timecode view that was opened (like when you do 'edit timecode 1').
It is not linked to the selected timecode pool item, it is linked to the last opened temp. timecode window.
Or do you have another approach to get it working correctly? 😁
-
Hi there,
How can i return the number of the current selected Timecode pool item in a LUA plugin?
I'm looking for this for a while now but can't seem to get it working...

-
Hi there,
I am looking for a LUA script to check if the selected fixtures have a running phaser (in the programmer or in a sequence) on any of their attributes.
Kind regards,
Tibo
-
try
local currentcue = cue.No/1000
Thanks for your fast reply Andreas! Got it!
-
Hi Guys,
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?
Kind regards,
Tibo