Command-double-click

# Command-double-clicking

Command-double-clicking in an HTML window provides different kinds of functionality depending on where you click.

### Command-double-clicking on an opening tag

Command-double-clicking on an opening tag lets you change the attributes of the tag. This is equivalent of using Edit Tag in the Editing menu. However, clicking on a color or URL attribute has a special effect, see below.

### Command-double-clicking on a color attribute

Command-double-clicking on a color attribute brings up a color picker where you can change, and optionally name, the color.

### Command-double-clicking on a URL attribute

Command-double-clicking on an absolute URL sends the URL to your web browser. This is not limited to HTML mode. It is a general feature of Alpha.

Command-double-clicking on a relative URL attribute opens a new window with the file if the file exists and is a text file. If it does not exist, a dialog box appears as the one shown below. As you see, a new empty window can be opened with the name of the file. This window is automatically saved in the right place, and if necessary new folders are created. Thus, if you are making a new set of pages, you can make links to the ones you have not written yet and then, by cmd-double-clicking, let Alpha make empty files which are saved where you want them.

Command-double-clicking on an anchor link <A HREF="#anchor"> jumps to the corresponding <A NAME="anchor"> in the file.

If the URL you click on points to a non-text file like an image, the file is opened in the application which created it. If you don't want to open non-text files this way you can disable this feature by unchecking Cmd-double-clicking on non-text file link opens file in the general preferences dialog.

### Command-double-clicking on a CSS URL

Command-double-clicking on a CSS URL property has the same effect as clicking on a URL attribute.

### Command-double-clicking on an include tag

Command-double-clicking on an include tag opens the include file.

### Command-double-clicking in home page windows

Command-double-clicking on a file or folder in a home page windows opens the file or a new home page window with the folder. Read more in the section about home page windows.

Previous page Next page