CommandList::Save Method

Saves the command list into a .txt file.

Syntax

bool CommandList::Save(
const string&in scriptRelativePath
)

Parameters

const string&in scriptRelativePath
The filename to use. The file will be saved in the Scripts folder. You may use subfolders within the name, e.g. Plugin/Subfolder/inputs.txt, will create a Plugin/Subfolder folder if it does not exist and put the file inputs.txt in it.

Return value

bool
If the file was saved successfully, true is returned, otherwise false.

Remarks

TMInterface does not validate the commands that are being saved into the file. You can save any text content you want.