Example 4. Using filesets

Fig.1 New fileset...
Fig.1 New fileset...

Fig.2 Search fileset...
Fig.2 Search fileset...
Websites grow like weeds. You start with a page or two and in no time you have a site that's teetering out of control. (OK, perhaps not you...)

Editing functions such as search-and-replace are simple when you're dealing with a single file. But when you discover a word misspelled in a couple of dozen files, you'll appreciate the value of filesets!

A fileset is a collection of files to which Alpha will apply commands that are normally used on individual files.

You start by creating a new fileset (Fig.1). Most sites consist of several .html files in a folder or a hierarchy of folders. You give your fileset a name and a specification. For example, the name might be XYZ Site and the specification might be "*.hmtl in the XYZ folder".

All .html files in the XYZ folder now appear hierarchically under XYZ Site in the Filelist menu. (You can use this menu to open any file in any fileset you've defined.)

In the case of that misspelled word, you can select Mult files in the Find command dialog and pick your fileset name from the popup list (Fig.2).

Alpha then searches through the fileset and when it finds a match it opens the file and selects the search string. Cmd-H (the shortcut for Replace and Find Again) will repeat the process with the next match. Actually, you can apply any Alpha search function against the entire fileset, including "silently" replacing every occurrence without any intervention.

Filesets are easy to use and an indispensable tool for the web designer who must apply global changes to many source files.

Example 1 | 2 | 3 | 4 | 5 Home | Overview | Manual | Download

Visitors: Website by Tenzo Design © 1997 Page updated: