Home > Articles

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Matching Files with Editors

FrontPage 2002 doesn't operate in a vacuum. Although it's possible to create a complete web strictly by using FrontPage, you're much more likely to use FrontPage with other software—image editors, word processing programs, and so on.

Much as Windows does, FrontPage associates certain file types with specific programs. After you double-click a file, FrontPage opens the file in its corresponding editing program. For example, files that end in .htm or .html open in FrontPage, and those that end in .php or .xml open in Microsoft Notepad.

But what if you don't want to use Microsoft Notepad to edit XML files? Or what if you work with file types—such as .cgi—that FrontPage doesn't have on its list? Fortunately, you can modify FrontPage's editor list to suit your needs. Adding an editor entry to the list allows you to open files directly in your preferred editor, overriding the default file type matching of the operating system.

To see how this works, suppose that you want to set a default editor for GIF files. First, choose Tools, Options and then select the Configure Editors tab, as shown in Figure 3.13. Now click Add. In the Add Editor Association dialog box that appears, as shown in Figure 3.14, type gif in the File Type field. (Notice that you don't need to type a period before the extension.) Next, type the name of the editor you want to use in the Editor Name field. Then click the Browse button and navigate to where the editor is stored on your hard disk. Select it and click Open. This sets the Command field to the full file path of the editor's executable. Finally, click OK to close the Add Editor Association dialog box.

Figure 3.13 FrontPage's list of editors.

Figure 3.14 Adding an editor entry to the list.

You can modify existing entries as well. First, choose Tools, Options and select the Configure Editors tab, as shown in Figure 3.14. Now select the entry that you want to change and then click Modify. In the Modify Editor Association dialog box that appears, type the name of the new editor you want to use in the Editor Name field. Then click the Browse button and navigate to where the editor is stored on your hard disk. Select it and click Open. Then click OK to close the Modify Editor Association dialog box.

TIP

Windows executables can be named cryptically and may be difficult to find. Instead of searching for an executable, you can navigate to a shortcut. Then FrontPage enters the correct pathname for you.

The Configure Editors tab includes two more options. The Remove button is self-explanatory: It simply removes the selected editor association.

The other option is trickier. As part of Microsoft's effort to integrate FrontPage more tightly with the Office suite, FrontPage remembers what Office program created each document that you import. Suppose that you've created a page in Word and saved it as HTML. When you import that page into a Web, FrontPage remembers that Word created the document.

By enabling the Open Web Pages in the Office Application That Created Them check box, you tell FrontPage to reopen your imported HTML page in Word, not in FrontPage. This setting overrides other file associations you've set up.

  • + Share This
  • 🔖 Save To Your Account