|64 bit: Set your own keyboard shortcuts with the Command Editor tool |
The Tool Extensions window in MapInfo Pro includes a tool that allows you to customize the keyboard shortcuts for any command in the interface. You can access this directly from the HOME tab and from within the Tool Windows gallery (also on the HOME tab).
|This article pertains to the 64 bit version of MapInfo Pro. |
The MapInfo Pro interface provides many keyboard shortcuts. These are indicated when you hover the mouse over a command. You can also see a list of them in the Help files. Some people may think that keyboard shortcuts are for the "power user" but this doesn't have to be so! Keyboard shortcuts can help any user be more efficient.
Setting your own keyboard shortcuts
Using this tool it is possible to add keyboard shortcuts to menu commands and buttons that do not already have them. You can also change existing shortcuts. You can remove keyboard shortcuts that you do not need and if desired, reuse them on a different command.
Upon running the tool a window appears with a list of all the commands in the MapInfo Pro interface. A handy Search box is available near the top of the window.
Basic versus Advanced view
The window opens with the basic view by default. This only shows three columns. These are the CommandID column (which can be useful to you MapBasic programmers out there), the Command column and the KeyGesture column.
If you click on the Advanced button (bottom right) the number of columns expands. The expanded view provides more information and enables you to also edit the menu item text, tool tip descriptions and more.
How to make edits
Changing keyboard shortcuts is easy. First, click on the command you wish to edit.
In the screen shot above, the Close Table command has been clicked on and is ready to be edited.
In the screen shot above, the keyboard shortcut Ctrl+Alt+C has been assigned to the Close Table command.
When finished, click the Update button. You will be prompted to restart MapInfo Pro.
Do's and don'ts
- Made mistakes? Don't worry, you can click the Restore to Defaults button. You will need to restart MapInfo Pro.
- You cannot repeat a keyboard shortcut, if you do so the command will be highlighted in red.
- In addition to the above, any invalid command will be highlighted in red.
- You can use the Ctrl, Alt and Shift keys to define shortcuts. You can use them singly or in pairs.
- You cannot use single letters. You must always use Ctrl, Alt or Shift with another character.
- You cannot use the Windows key.
- You can assign/reassign the Function keys (F1 to F12).
- F6 and F12 are currently unused by MapInfo Pro.
- You can assign keyboard shortcuts to tool buttons, such as the Zoom In tool. Note that when you hit the keyboard combination the mouse cursor does not change until the mouse is moved.
Don't have the latest version of MapInfo Pro?
Click here for a free trial.
Article by Tom Probert, Editor of "The MapInfo Pro" journal
When not writing articles for "The MapInfo Pro", Tom enjoys talking to MapInfo Pro users at conferences and events. When not working he likes to see movies with car chases, explosions and kung-fu fighting.