User Guide
External application functions 143
Arguments
fileURL
• The fileURL argument can be a complete file:// URL, a filename, or a file extension
(including the period).
Returns
An array that contains a pair of strings for each editor in the list. The first string in each pair is the
name of the editor, and the second string is its location on the user’s computer, which is expressed
as a file:// URL. If no editors appear in Preferences, the function returns an array that contains
one empty string.
Example
A call to the dreamweaver.getExtensionEditorList(".gif") function might return an array
that contains the following strings:
• "Fireworks 3"
• "file:///C|/Program Files/Macromedia/Fireworks 3/Fireworks 3.exe"
dreamweaver.getExternalTextEditor()
Availability
Dreamweaver 4.
Description
Gets the name of the currently configured external text editor.
Arguments
None.
Returns
A string that contains the name of the text editor that is suitable for presentation in the user
interface (UI), not the full path.
dreamweaver.getFlashPath()
Availability
Dreamweaver MX.
Description
Gets the full path to the Flash MX application in the form of a file URL.
Arguments
None.
Returns
An array that contains two elements. Element [0] is a string that contains the name of the
Flash MX editor. Element [1] is a string that contains the path to the Flash application on the
local computer, which is expressed as a file:// URL. If Flash is not installed, it returns nothing.
000_DW_API_Print.book Page 143 Wednesday, August 20, 2003 9:14 AM