OutputFileType

From Moving Light Assistant
Jump to: navigation, search

All comments in LUA start with a --
When you are using the Output window to save the output of a script, you can automatically specify the type of file the Output window will save the script output as. It will set the File Type popup menu which adds the correct file type ending to the file name when you save.
To save as a plain text file use...

-- OutputFileType=Text

To save as a CSV text file use...

-- OutputFileType=CSV

To save as a XML text file use...

-- OutputFileType=XML