JOSM macros/templates/shortcuts

Hi,

I’m fairly new to the JOSM editor. I’m currently mapping a lot of dirt roads. Is there anyways I can map a hotkey or create a toolbar button that will automatically tag the select nodes as “highway=unclassified, surface=gravel” ?

I tried searching the forum, wiki, but didn’t find anything like that.

What you want is custom presets in JOSM. See this page for instructions: http://josm.openstreetmap.de/wiki/TaggingPresets
Basically you create an XML file defining your presets with the tags you want, then that will add it to the presets menu in JOSM. You can then go to preferences → Tool bar customisation to add your presets to the toolbar.

I don’t know if there’s any way of setting keyboard shortcuts for presets.

that did the trick. thanks!