I guess I struggle so see what the House number field is for as it never displays the last or next house number. Maybe for us slow people (or those coming from Rapid HN) a “Last inserted” box could be added above the shortcuts description. I keep looking at the House number field changing and and expect the next shortcut to add to that. Or even niftier would be place a box next to the shortcut that would display what the HN would be if you hit that key.
It’s probably not something you would want to do since most people know how to use the script. The consideration is appreciated.
The number in the box is what you get when you hit T. R is one more than that.
I honestly don’t look at that box at all once I have set it and used the tool the first time. I just know that T R and E do for me relative to the last HN I added. I was using this script long before Rapid HN was written, so the keys make sense to me
Oh, and letter keys (TRE all next to each other) are just slightly easier to navigate for someone right handed while using a mouse.
The new version 2024.02.27.01 fixes it on the latest WME and adds two new features.
Auto set next HN, contributed by Fuji2086, will set the next HN field when you manually enter a new HN with the h command, and when you move an existing HN. For example, if you wanted to start an HN sequence at 100, you would enter HN mode and make sure the Auto set next HN option is checked. Type an ‘h’, click where you want it and enter 100, and click off of it. Now if you hit ‘4’ and click, you would then get 104 added. Also, if there are existing HNs and you want to continue a sequence, you could do something like this: select the HN that you want to continue from, say its 300, and nudge it a little. Then click off of that HN and type 6 and click and you will get HN 306 added.
The other new feature is Zoom Keys, which also has a checkbox to enable it on the QuickHN panel (which only appears in HN mode). Since Quick HN takes over the 0 thru 9 keys and they really are only used in HN mode, I have added Zoom Keys so they will zoom the map when you are not in HN mode. I know there are other scripts that do something similar, but since there is no way for scripts to share shortcut keys, I want to try this out and see if it is useful. Key 1 thru 9 will change the zoom to 11 thru 19. Keys 0 will zoom to 20.
This sounds great. Any chance you can make the zoom shortcuts customizable? Similar to the script 'Zoom Shortcut’s. For years I’ve been using 1 to 0 as zoom 11 to 20, I use 1 and 2 fairly frequently to zoom out and pan the map, this would limit that ability. Thanks for the work and consideration.
There is a new version 2025.01.28.01 that works with the new prod that no longer has an HN mode. Now whenever a segment is selected, any of 0-9, t, r or e will invoke QuickHN to add the next expected HN. Also, the QuickHN tab is now a normal script tab, and unfortunately, WME switches back to the segment info tab whenever you use QuickHN to add a new number.
EDIT - minor fix 2025.01.28.02 fixes the QuickHN listing in the Keyboard Shortcuts dialog.
Feature request:
For those that like the zoom feature make an option for Zoom Keys that zooms when a segment is selected, instead of turning the HN layer on and adding an HN with the number. Basically I only want to add an HN if the HN layer is already on, otherwise I just want to zoom.
The way it’s set up now I keep inadvertently turning the HN layer on and adding an HN quite often. Then I have to back out of the change and disable the HN layer before zooming with the WME zoom buttons. It’s a lot of extra clicks and time. Thanks for the consideration.
There is a new version of QuickHN, 2025.02.10.01, thanks to Philistine11, who added decrement mode, support for formats like 1000-10 and 1000A, and modernized the code a bit.
The HN field in the QuickHN UI is now just a display of the last entered HN, which will also update when you move an existing HN if you have the “Auto set next HN on moved HN” option checked. You start a new sequence by using the standard WME ‘h’ keystroke and enter the HN manually. Then you can use 0-9 or r, t and e to add the next in the sequence. Since WME removed the HN mode, these will only work when a segment is selected.
NOTE that the options are stored a little different now, so you will need to check the Zoom Keys and Auto set next HN options if you want them.
I think this update broke the zoom using numbers entirely. I’m not seeing any zoom when I press the numbers. Does it have to do with the numbers now being associated in the keyboard shortcuts?
When a segment is selected I still want to be able to zoom instead of turning on the HN layer and entering a house number. The number keys should only work to add HNs when the HN layer is already on. If the HN layer is off and I have a segment select the number keys should still work to zoom. This is how the script worked before the changes to the house number editing a few weeks ago.
You are mixing two conversations. The first is your request to only do HN insertions when the HN layer is turned on. That seems reasonable and I’d like to experiment with that.
The other conversation is you stating that zoom using numbers is not working at all. Everything looks good in that code that I see, but you do need to make sure the Zoom Keys option is checked since the settings got reset with this update.
Oh, I was thinking you were talking about the HN mode which doesn’t exist anymore, but I now realize you meant the actual map layer.
The only problem I could see is that the current functionality of turning on the layer is how WME is handling it natively. So we would either want to add another option, or change how the current zoom keys option works, but I’m not sure if most people would want it to work that way.
I clicked on the reply dropdown before I responded. So I was responding to the comment that my feature request is how it’s working now. which it is not
Well, that is the way it was working before so it would just restore the functionality. I agree about making it an option and that is what I requested in the original request.