Adobe 65011817 Extended User Guide - Page 199
fw.chooseScriptTargetDialog, fw.closeDocument
UPC - 883919157368
View all Adobe 65011817 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 199 highlights
Last updated 12/8/2009 EXTENDING FIREWORKS 195 The Fireworks Object Arguments primaryBrowser A Boolean value that indicates which browser to select. If primaryBrowser is true, Fireworks prompts the user to set the primary browser; if the argument is false, Fireworks prompts the user to set the secondary browser. Returns Nothing. Description Displays a dialog box that lets the user select a primary or secondary browser. fw.chooseScriptTargetDialog() Availability Fireworks 4. Usage fw.chooseScriptTargetDialog(formatlist) Arguments formatlist A list of target documents for an operation. Its use is similar to that in fw.locateDocDialog(), except that formatlist is required, and you cannot specify a maximum number of documents Returns An array of file://URLs, or null if the dialog box is canceled. Description Displays a dialog box that lets the user choose the target documents for an operation. The dialog box lets the user specify currently open files, files in the project list, or files that are explicitly selected. See also fw.locateDocDialog() fw.closeDocument() Availability Fireworks 3. Usage fw.closeDocument(document, {bPromptToSaveChanges}) Arguments document A Document object that specifies the document to close (see "The Document object" on page 27). bPromptToSaveChanges An optional Boolean argument. If bPromptToSaveChanges is true or omitted and the document has changed since the last time it was saved, the user is prompted to save changes to the document. If bPromptToSaveChanges is false, the user is not prompted, and any changes to the document are discarded.