User Guide

260 Chapter 5: Fireworks JavaScript API
Arguments
appPath
A file URL that specifies the executable to start. Typically, this value can be obtained
by calling
fw.findApp().
filePathsToOpen An array of file URLs to open in the executable to start. It is safe to pass an
empty array.
Returns
A Boolean value that indicates whether the application started successfully.
Description
Starts an application using a file URL that is returned by fw.findApp(). You can specify,
optionally, files to open in the application.
See also
fw.findApp()
fw.launchBrowserTo()
Availability
Fireworks MX.
Usage
fw.launchBrowserTo(url)
Arguments
url
The URL to open in the primary web browser.
Returns
Nothing.
Example
The following command starts a browser that opens to the Macromedia website:
fw.launchBrowserTo("http://www.macromedia.com");
Description
Starts Fireworks’ primary web browser to open a URL.
fw.locateDocDialog()
Availability
Fireworks 4.
Usage
fw.locateDocDialog(maxnumdocs, formatlist)
Arguments
maxnumdocs
Specifies the maximum number of documents to choose.