CueInfo:SaveCueInfo

From Moving Light Assistant
Jump to: navigation, search

SaveCueInfo(cueinfo)

cueInfo is the CueInfo structure to save.

Note this function is only available in MLA v1.3.1 Beta 14 and onwards.

This function will store the passed CueInfo structure. This is useful when the structure has been modified and the changes need storing. For every call to SaveCueInfo, an entry in the applications Undo/Redo stack will be created so that it is possible to Undo the action after the script has finished.

Example.

cueinfo = CueInfo:GetSelectedCueInfo()
if cueinfo ~= nil then
cueinfo.Image1Caption = "Photo 1 Caption"
SaveCueInfo(cueinfo)
end