CueInfo:GetSelectedCueInfo

From Moving Light Assistant
Revision as of 15:52, 17 December 2017 by Andyv wiki admin (Talk | contribs) (Added page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:GetSelectedCueInfot()
if cueinfo ~= nil then
cueNumber = cueinfo.CueNumber
end