CueInfo:GetSelectedCueInfo

From Moving Light Assistant
Jump to: navigation, search

GetSelectedCueInfo()

Returns an CueInfo structure.

Note this function has a bug and does not work correctly prior to MLA v1.3.1 Beta 14.

This function will return a CueInfo structure for the currently selected cue in the Cue List view. It will return nil if no cue is selected. It is worth adding checking for this situation.

Example.

cueinfo = CueInfo:GetSelectedCueInfo()
if cueinfo ~= nil then
cueNumber = cueinfo.CueNumber
end