Assigning External Editing Programs


When you are working on your Web pages, you can launch another program to edit files that Dreamweaver can't edit itself, such as graphics and media files. For example, if you want to edit a JPEG file, you can have Dreamweaver use Fireworks or Photoshop or even something like Windows Paint. You specify an external editor for a particular file type.

Dreamweaver can use any programs that you have on your machine to edit files, but you'll need to tell Dreamweaver about these programs first. You do that in Dreamweaver's preferences.

To assign an external editor:

1.
Choose Edit > Preferences (Dreamweaver > Preferences) or press Ctrl-U (Cmd-U).

The Preferences dialog appears.

2.
Click the File Types/Editors category.

The File Types/Editors pane appears ( Figure 14.1 ).

Figure 14.1. Use the File Types/Editors category of the Preferences to set which programs you want to use to edit particular kinds of files.


3.
The field at the top of the pane, Open in Code view, has extensions of all kinds of files that Dreamweaver will automatically open in Code view. If you will be working on files of a type not listed, enter one or more extensions in the field, separated by a single space.

4.
If you want to assign an external code editing program, such as Macromedia HomeSite, available for Windows only, click the Browse button, navigate to the program you want, and click OK (Choose).

If you assign an external code editor, Dreamweaver changes the Edit > Edit with External Editor menu choice to Edit > Edit with [program name ] .

5.
From the Reload modified files popup menu, choose what you want Dreamweaver to do when it detects that changes have been made in another program to a file that is open in Dreamweaver. Your choices are Prompt (Dreamweaver will ask you whether it should reload the page), Always, or Never.

6.
From the Save on launch pop-up menu, choose whether Dreamweaver should always save the current document before starting the external editor, never save the document, or ask you if it should save the document.

7.
If you have Macromedia Fireworks on your system, tell Dreamweaver its location: click the Browse button, navigate to Fireworks in the resulting Select External Editor dialog, and click OK (Choose).

Dreamweaver uses Fireworks by default to edit most graphic files, and Fireworks has special features that allow it to update images directly on Dreamweaver pages.

8.
The Extensions column has a list of graphic and media types. Click to select the media type for which you want to assign an external editor.

If the media type has a dialog appears already assigned, that editor appears in the Editors column.

or

To add a media type, click the plus (+) button above the Extensions column. A new entry appears at the bottom of the Extensions column. Type a new extension for the new media type ( Figure 14.2 ).

Figure 14.2. When you add a new file extension, you enter it at the bottom of the Extensions column.


9.
To add an editor, click the plus (+) button above the Editors column.

The Select External Editor dialog appears. Navigate to the program you want to use and click OK (Choose).

10.
Repeat steps 8 and 9 for the rest of the media types in the Extensions column.

11.
Click OK to dismiss the Preferences dialog.

Tips

  • If you prefer to use Adobe Photoshop as your image editor, set it to be the external image editor for JPEG, GIF, and PNG files.

  • Dreamweaver can make some edits to graphic files itself, including resizing the image, adjusting its brightness and contrast, cropping it, and more. See Chapter 8 for more information.

  • On the Mac, Dreamweaver can use Bare Bones Software's BBEdit, a popular text editor, as its external code editor. In the File Types/Editors pane of Preferences, there is a check box labeled Enable BBEdit Integration ( Figure 14.3 ). Select this check box to make BBEdit the external code editor. This also changes the Edit > Edit with External Editor menu choice to Edit > Edit with BBEdit. For more information about using BBEdit to edit your code, see Chapter 15.

    Figure 14.3. On the Mac, a single check box enables integration with BBEdit.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net