Example Adding a QuickInsert Custom Button

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

close2.pngopen.pngTo add the custom button only for files in the active project

    1. Click ProjectSettings.png Project Settings.

    2. In the File Types tree, expand the type of file for which you want to add a QuickInsert custom button.
    3. Select the QuickInsert page from your file type tree.
    4. Click Add... to display the Add QuickInsert dialog box.
    5. 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. Click OK until all dialog boxes are closed.

    12. From the active project, open a document of the type for which you added the new custom button.

    13. Select some text in the target segment and then click the new customtag.png Curly Quotes button in the QuickInsert group. The selected text is surrounded by “ ”, as a text pair.

close2.pngopen.pngTo add the custom button for files in all future projects

    1. Click 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 the QuickInsert page from your file type tree.

    4. Click Add... to display the Add QuickInsert dialog box.

    5. 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. Check the Display in QuickInsert group.

    11. Click OK until all dialog boxes are closed.
    12. Create a new project and open a document of the type for which you added the new custom button.
    13. Select some text in the target segment and click the new customtag.png Curly Quotes button in the QuickInsert group. The selected text is surrounded by “ ”, as a text pair.

 

NOTE

If the new custom button does not appear in the QuickInsert group:

  • close the active document and then open it again.

  • make sure that you have not already assigned the nine available custom QuickInsert buttons.

Related topics

About Customizing the QuickInsert Group

The QuickInsert Page

      We welcome your comments about the documentation. Click here to send us an email: techcomms@sdl.com.

Topic:  Published: November 10, 2014