Difference between revisions of "CueInfo:GetSelectedCueInfo"

From Moving Light Assistant
Jump to: navigation, search
(Added page.)
(No difference)

Revision as of 16:52, 17 December 2017

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