saveTextToFile

Saves text to a file after prompting the user for the save location. The default name in the Save As dialog box is populated with sDefaultFileName.

Syntax

designer.saveTextToFile (STRING param1, STRING param2 )

Parameters

param1

A valid string representing the text data to save. Can be empty.

param2

A valid string representing the default filename that populates the Save As dialog box, which the user is prompted with. Can be empty.

Returns

Returns TRUE if saved successfully, returns FALSE otherwise.

// Ethnio survey code removed