This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Is it possible to amend JOSM shortcut actions/commands?

1

Hi

Is it possible to amend JOSM shortcut actions/commands?

https://josm.openstreetmap.de/wiki/Shortcuts

This page claims: "Every "button" and menu item in JOSM may be assigned with hot-key" But none of the hyperlinked pages show how it's done. I want to create a shortcut for the File menu 'Download in current view' command.

asked 08 Jan '19, 18:55

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%


One Answer:

3

There may be a better way, but you can cheat a little bit and add the action to the toolbar. It will then appear as an entry in the keyboard shortcut panel:

alt text

answered 08 Jan '19, 19:24

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

edited 08 Jan '19, 19:25

Source code available on GitHub .