Last week we took a look at the user interface. Today, we will continue exploring the user interface and look at how you can use Window Shortcuts when working with MapInfo Pro.
Window Shortcuts behave a bit differently from other shortcuts: Window Shortcuts are only active when a specific window type is active. For now, we only support map windows for these special Window Shortcuts.
MapInfo Pro has supported Window Shortcuts for map windows for ages. A few examples of these are:
Lately, we added more of these shortcuts.
Basically, you can say that a Window Shortcut is a keyboard shortcut to an existing command. This allows you to use the keyboard to switch between tools and run commands in MapInfo Pro instead of having to use the mouse to click on a control on the ribbon.
In a patch to MapInfo Pro v17.0, we extended the list of Window Shortcuts to include a number of other tools:
Do notice that the Window Shortcuts that are using a Capital letter can be activated by holding down the Shift key in combination with the letter. So to access the Zoom-In tool, hit the z key on your keyboard but to access the Zoom-Out tool, you will have to hit Shift+z.
You can even control these Window Shortcuts yourself. You can modify the existing shortcuts, and you can add more shortcuts to commands that you often use when working in a map window.
You do this through the Keyboard Shortcuts option on the Options tab on the Backstage.
This opens the Keyboard Shortcuts dialog. From here you can manage Application Shortcuts and Window Shortcuts. Switch to the Window Shortcut tab to see the existing Window Shortcuts.
The list here is similar to the list above. There are however two entries missing. That's for the ESC key and for the Backspace key. These two cannot be altered.
You can now click on the key for any of the existing shortcuts and change the key. Be aware that you should not change it to a key that is already in use. If you do, you may not be able to save the changes.
You can also add additional shortcuts using the Add New Shortcut. This adds a new row to the list where you can pick the command and enter the key you want to assign to the command. Below you can see that I have added a new shortcut for InvertSelection which I have assigned the key u.
Finally, you can also remove existing shortcuts using the cross that appears when you hold the mouse on top of an existing shortcut.
Make sure to select an existing key before saving the new shortcut or any changes you have made.
I hope this gave you some ideas on how you can take advantage of the keyboard when working in the map window inside MapInfo Pro.
Are you already using Window Shortcuts? If so, which one is your favorite?
Stay tuned for another #MapInfoMonday article next week!