beautypg.com

The keyboard layout mapping xml files – Adobe Extending Dreamweaver CS4 User Manual

Page 34

background image

28

EXTENDING DREAMWEAVER CS4

Customizing Dreamweaver

Create a keyboard mappings file

1

Make a copy of one of the keyboard mappings files in the Configuration\Menus\Adaptive Sets folder, and name the
file using the appropriate 2-letter language name for your keyboard layout with .xml extension.

When making a copy of an existing file, you should copy a keyboard mappings file that is close to your keyboard
layout. For example, if you are creating a keyboard mappings file for the Swedish keyboard, you might want to copy
the de.xml because the Swedish keyboard layout is similar to the German keyboard layout.

2

Move the new keyboard mappings file you just created to a folder other than the Configuration\Menus\Adaptive
Sets folder.

3

Open the keyboard mappings file in Dreamweaver.

4

Remove or add shortcut tags for your keyboard layout.

To help you decide on the keyboard shortcut tags you want to modify, you can compare the shortcuts set for the
U.S. keyboard with those set for your language. (The next procedure describes comparing shortcuts from two
keyboard layouts.)

5

After making your changes to the keyboard shortcuts, save the file and move it back to the
Configuration\Menus\Adaptive Sets folder.

Determine the keyboard shortcut tags you want to modify

1

Switch the active keyboard language setting of your computer to your language, if it is not already set. (This is set
through the operating system of your computer. For example, in Windows you can select the language through the
Control Panels.)

2

Start the Dreamweaver Keyboard Shortcut Editor by selecting Edit > Keyboard Shortcuts.

3

Click the third image button in the upper right of the dialog box. (If you place the pointer over the button, you will
see the tooltip "Export set as HTML.")

The Save As HTML file dialog appears prompting you to enter a name for the keyboard shortcut summary file of
your current keyboard layout.

4

After saving the summary file, dismiss the Keyboard Shortcut Editor dialog box.

5

Switch the keyboard layout to the U.S. keyboard (through your computer’s operating system).

6

Start the Dreamweaver Keyboard Shortcut Editor by selecting Edit > Keyboard Shortcuts.

7

Click the third image button in the upper right of the dialog box to export the set as an HTML file.

8

After saving the summary file, close the Keyboard Shortcut Editor dialog box.

9

Now, you can print the two keyboard shortcut summary files and compare them to see all the shortcuts that
Dreamweaver removed for your language keyboard layout. These are the shortcuts that you have to reassign with
new shortcuts using keys available only on your keyboard layout.

With the information you get from comparing the two files, you can update your keyboard layout mappings file by
adding or removing shortcut tags for each shortcut that you want to reassign.

The keyboard layout mapping XML files

The following example shows the format of the French keyboard mappings file (fr.xml):

This manual is related to the following products: