User Guide

294 Chapter 12: Methods
displaySave()
Usage
-- Lingo syntax
fileioObjRef.displaySave(stringTitle, stringFileName)
// JavaScript syntax
fileioObjRef.displaySave(stringTitle, stringFileName);
Description
Fileio method; Displays a Save dialog box.
This method returns to script the full path and name of the saved file.
Parameters
stringTitle
Required. A string that specifies the title displayed in the Save dialog box.
stringFileName Required. A string that specifies the full path and name of the file to save.
See also
Fileio
do
Usage
do stringExpression
Description
Command; evaluates a string and executes the result as a script statement. This command is
useful for evaluating expressions that the user has typed and for executing commands stored in
string variables, fields, arrays, and files.
Using uninitialized local variables within a
do command creates a compile error. Initialize any
local variables in advance.
Note: This command does not allow global variables to be declared; these variables must be
declared in advance.
The do command works with multiple-line strings as well as single lines.
Parameters
stringExpression Required. The string to be evaluated.
Example
This statement performs the statement contained within quotation marks:
do "beep 2"
do commandList[3]