Documentation Center

Adding custom QuickInsert buttons - quotes example

This example shows you how to add a custom button for inserting curly quotes (" ") into the target file.

Procedure

  1. Decide where you want to use the custom QuickInsert button:
    • For the active project, go to the Projects view, and on the Home tab, select Project Settings.
    • For all future projects, go to File > Options.
  2. In the File Types tree, expand the type of file for which you want to add a QuickInsert custom button.
  3. Select QuickInsert from your file type tree.
  4. Select Add....
  5. In the Add QuickInsert dialog, in the Name box, type Custom.
  6. In the Description box, type Curly Quotes. This description is used for the button's tooltip.
  7. In the Type box, select Text pair.
  8. Insert the left quote () in the Start Text box: with Num Lock on, hold down Alt, type 0147 on the numeric keyboard and then release.
  9. Insert the right guillemet () in the End Text box: with Num Lock on, hold down Alt, type 0148 on the numeric keyboard and then release.
  10. Select Display in QuickInsert group.
  11. Select OK.
  12. Create a new project and/or open a file of the type for which you added the new custom button.
  13. Select some text in the target segment and then click the new Curly Quotes button in the QuickInsert group. The selected text is surrounded by “ ”, as a text pair.