Locating the ID of Commands

<< Click to Display Table of Contents >>

Navigation:  PDF-XChange Editor > Customization > Active Directory Administrative Template for PDF-XChange Editor > Examples > Customizing Toolbars and Commands via Group Policy >

Locating the ID of Commands


 

100x100 Locating the ID of Commands

 


 

There are more than 840 commands available in PDF-XChange Editor and the list continues to grow as we add more features and functionality to the software. The first step in customizing which of these commands are available in the toolbars is to get the unique ID for each command, which can be done following the steps detailed below.

 

1. Open PDF-XChange Editor.

 

2. Right-click empty space space on a toolbar and then click Customize Toolbars:

 

customizeToolbars

Figure 1. PDF-XChange Editor UI, Right-Click Context Menu, Customize Toolbars Selected

 

The Customize Toolbars dialog box will open.

 

3. Click the Commands tab:

 

customize.toolbars

Figure 2. Customize Toolbars Dialog Box, Commands Tab

 

4. Use the Commands text box to search for the desired commands. For example, enter "pencil tool" to return the Pencil Tool:

 

pencil.tool.search

Figure 3. Customize Toolbars Dialog Box, Commands Tab, Example Search

 

Note that the Eraser Tool is also returned in this search as the text in its description contains a reference to the Pencil Tool.

 

5. Select the desired command and then click Properties to view the properties of the command.

 

The Command Properties dialog box will open:

 

command.properties

Figure 4. Command Properties Dialog Box, Pencil Tool

 

The ID of the command is displayed in the ID text box. The ID for the Pencil Tool is "cmd.tool.annot.pencil".

 

When the ID of commands in PDF-XChange Editor are defined in an Active Directory administrative template, the first section - "cmd" - of the ID can be omitted. If the pencil tool is being defined, then the ID "tool.annot.pencil" is sufficient.