Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In ArcMap 10 table view, is there a way to set up a hotkey that when a feature is selected, pressing say "z" is equivalent to right-click-->Zoom To?

I would like to be able to highlight a record and just press "z" to zoom to the feature, "p" to pan to the feature and keep the same zoom, etc. It seems simple enough, but I cannot seem to find a place to set up this function.

Am I missing something simple? I just want to replicate the function shown below without the 2 additional mouse clicks.

enter image description here

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

There are preset shortcuts, but I don't now how to change them. For Zoom To Selected Feature, the hotkey is [CTRL] + [SHIFT] + [=]

Read the ArcGIS Help @ Keyboard shortcuts for working with tables, for other keyboard shortcuts.

share|improve this answer
2  
usually a post the says "Search the web for..." is not as detailed as this community would like. However you did lead me to an answer, so I took the liberty of editing your answer to make it more useful to other readers. –  RyanDalton Nov 8 '11 at 16:13
add comment

I thought you might be able to add another button that runs the Zoom To Selection function, and give the button a keyboard shortcut like &Zoom in the name. But it doesn't look like you can add buttons to the table view toolbar (never knew that).

However, if you double-click on the selection button (grey box on the left) of a row, it zooms to that feature on the map.

share|improve this answer
    
Thats what I thought too! In previous releases you could access all of the context menu's in the software, but I cannot seem to find where the table menus are at any more, if they are exposed at all. –  RyanDalton Oct 14 '11 at 17:56
add comment

You can double click a record to zoom to

or you can

Use AutoHotKey to write a small script

for example:

`::^+=

pressing the "`" key would give you [CTRL] + [SHIFT] + [=] For Zoom To Selected Feature

`::^p

pressing the "`" key would give you [CTRL] + [p] For Pan To Selected Feature

What I commonly use:

This script is Content Aware so that the script runs only when the ArcMap window is open. It moves one record down in the table then pan's to that location.

SetTitleMatchMode 2
#IfWinActive ArcMap
SetKeyDelay,25,25 
`::
Send {down}
Sleep, 25 
Send ^p
Return
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.