Skip to content
Penn State University Libraries

Contact

Cataloging and Metadata Services
126 Paterno Library
University Park, PA 16802-1808

Staff Directory

Phone: (814) 865-1755
Fax: (814) 863-7293
ul-cataloging@lists.psu.edu

Ken Robinson
Cataloging and Metadata Services
126 Paterno Library
University Park, PA 16802-1808

Phone: (814) 867-0850
Fax: (814) 863-7293
Email: kjr106@psu.edu

Assigning an OML Macro to a Shortcut Key

Running an OCLC Macro Language (OML) macro from the menu in the Connexion Client is tedious (select Tools—›Macros—›Manage…, then find your macro in the list and highlight it, then finally, click on the Run button). A much quicker way to do this is either assigning a shortcut key to it or a user tool.

Step 1: Because the Connexion Client has a lot of shortcut keys already assigned to numerous functions, the best thing to do is find a list of these to see what's available or which ones you might want to override. From the View menu, select Assigned Keys. The following dialog box should display:

The Assigned Keys Dialog Box

As you can see, you can scroll for miles and miles through an endless sea of shortcut keys that are pre-assigned in the Connexion client. Look for key combinations that are unassigned, or if you really need a key combination that you are more likely to remember, look for it in the list and see if the function it has been assigned to something you will never need to use. If you're having difficulties finding one, consider assigning your macro to a user tool instead. Once you have decided on one, remember it or write it down.

Step 2: From the Tools menu, select Keymaps. The following dialog box should appear:

The Keymaps Dialog Box

The values in this dialog box may differ in display so don't worry about that. In the next step you will be guided into what to do in each section.

Top

Step 3: To the top and right is a section entitled "Display Commands for Category." There are four selections available (Menu Item, Macro, Character, Text). Choose Macro. Your macros should now be listed in the panel on the left. Choose the macro you want to assign a shortcut key to. To the right of the list is a box for typing in text that contains the label "Press New Shortcut Key." Type your shortcut key into this box. In the example shown below, we assigned the IndexNote macro to Ctrl+NumPad 9.

A New Shortcut Key in the Keymaps Dialog Box

Step 4: Press the Assign button. Your newly assigned shortcut key will now display in the panel labeled "Current Shortcut Keys" as shown below. Finally, click the OK button.

Assigning the Shortcut Key to a Macro in the Keymaps Dialog Box
Top