saveFile

Displays a file dialog window to get a path to save a file on the local file system.

Syntax

ui.Interface.frontCall("standard", "saveFile",
  [path,name,filetype,caption],
  [result]) 
  1. path - The default path.
  2. name - The name to be displayed for the file type.
  3. filetype - The file types (as a blank separated list of extensions).
  4. caption - The caption to be displayed.
  5. result - Holds the name of the selected file (or NULL if canceled).

Usage

When invoking the "saveFile" front call, the front-end displays the typical file dialog window on the local file system, to let the end user enter a file path, to save data to a new file.

If the user cancels the dialog, the front call returns NULL in the result variable.