Opened 16 years ago
Last modified 10 years ago
#5097 new enhancement
possibility to repeat the last action (macro recording) — at Version 5
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | repeat action google summer of code | Cc: | openstreetmap.org-user-d1g |
Description (last modified by )
Hi
Nice work you doing - Thanks.
Even if I repeat myself, I mean it and think there are not enough compliments and recognitions about work that is done, especially when it is voluntarily.
I often find myself doing actions over and over again.
It would be nice if JOSM would provide a possibility to repeat these actions.
Maybe it is possible to have even a number of actions repeated.
Thanks
skyper
Change History (5)
comment:1 by , 16 years ago
| Keywords: | google summer of code added |
|---|---|
| Summary: | posibility to repeat the last action → posibility to repeat the last action (macro recording) |
comment:2 by , 16 years ago
I second this change request. I'd like to see macro commands for at least search and validation. The reason is that I'm busy importing landuse data in the Netherlands, and have to do lots of repeated actions. It should also be possible to save macros in the config file, and assign them to toolbar buttons.
comment:3 by , 15 years ago
| Summary: | posibility to repeat the last action (macro recording) → possibility to repeat the last action (macro recording) |
|---|
comment:4 by , 15 years ago
Why not just map this action to a single letter hotkey? I remapped copy and the Ctrl-Shift-V (insert only tags) to a single letter, as I hate these unintuitive windows copy/paste keys and want to fast repeat my tags and also have to press only one instead of two keys, if you not want to use mass edit after selecting the objects.
comment:5 by , 12 years ago
| Description: | modified (diff) |
|---|
attachment:5097v1.patch adds a vim-like feature: [Ctrl]+[Alt]+[.] repeats the last command if it an instance of RepeatableCommand. Exemplified for ChangePropertyCommand and SequenceCommand.



What you describe is actually a form of "macro" (i.e. a macro recorder and playback). Even if for you it means "repeat a action" for the program usually this means repeat action, but with different variables. This is not that easy.
This sounds like a good idea for Google Summer of code (not for this year anymore).