Page 1 of 3

[Script] WME Context Menu

Posted: Sat Feb 20, 2016 5:34 pm
by
(This script was formerly called WME Copy Menu.)

WME Context Menu stores various editor elements in an easy-to-access right-click context menu. It can currently copy certain properties of selected segments directly to your clipboard and it integrates with WME Speedhelper and WME Road Selector to help make it even easier and faster to edit the map.

To open the menu, select segment(s) and right-click. Flip between copying to clipboard (1), WME Road Selector integration (2) and WME Speedhelper integration (3) using the buttons in the menubar or pressing their numbered hotkeys while the menu is open: 1, 2, or 3. Activate the push-pin to pin the menu anywhere on the map and prevent it from closing.

If you do not have WME Road Selector installed, the button does nothing and the script will only copy to your clipboard.
If you do not have WME Speedhelper installed, the button will still give you the default WME input panel for editing speed limits.

This was just a recent idea that I had after experiencing several minor annoyances and frustrations with adding speed limits in WME. The first versions of the code were quickly put together over the course of just 2-3 days and so it is definitely in its infancy. Ideas for integrating the context menu with other WME or userscript functions are welcomed. As always, bug reports are greatly appreciated.

https://greasyfork.org/en/scripts/17087 ... ntext-menu

-------

Re: [Script] WME Context Menu

Posted: Wed Feb 27, 2019 10:22 am
by Distelpilz
The Speedhelper-Integration displays wrong speed signs for Germany

WME Speedhelper, Version 0.10.9 from https://greasyfork.org/scripts/13774-wm ... er.user.js
WME Context Menu, Version 2018.11.29.01 from https://greasyfork.org/scripts/17087-wm ... nu.user.js
Tampermonkey V4.8.5847 for Firefox 65.0.1 (64-Bit) Windows

Speedhelper-Integration to WME Context Menu
Speedhelper-Integration.PNG
(32.22 KiB) Downloaded 473 times
Speehelper's own display at left tools column
Speedhelper.PNG
(14.58 KiB) Downloaded 456 times

Re: [Script] WME Context Menu

Posted: Thu Nov 29, 2018 2:40 pm
by G_W1Z
I am unable to type out the numbers 1, 2, or 3 on my keyboard (on two different computers) while running this script, and occasionally the exclamation point symbol.

Re: [Script] WME Context Menu

Posted: Fri Nov 30, 2018 12:55 am
by iainhouse
G_W1Z wrote:I am unable to type out the numbers 1, 2, or 3 on my keyboard (on two different computers) while running this script, and occasionally the exclamation point symbol.
Quick workaround: click in the WME search box then click out of it again. That re-activates the keys. :)

Re: [Script] WME Context Menu

Posted: Fri Jun 14, 2019 11:28 pm
by jm6087
Feature suggestion: If possible and you feel it is worth the trouble.

When you right click on a junction node, you get a context menu that will allow you to set the u-turns to green or red on both of the segments at the selected junction node.

Re: [Script] WME Context Menu

Posted: Wed Jul 12, 2023 1:25 pm
by juliansean
The latest version of WME has disabled context.  The right click only brings up native browser controls.
Context.png
(970.72 KiB) Downloaded 57 times
 

Re: [Script] WME Context Menu

Posted: Fri Aug 24, 2018 3:49 pm
by JustinS83
Update released - 2018.08.24.01

Fixing issues introduced in WME updates since this was last updated by TLTT. I believe existing functionality is now fully functional, if not please let me know.

Re: [Script] WME Context Menu

Posted: Tue Sep 18, 2018 2:35 am
by JustinS83
Update released - 2018.09.17.01

Fixed more issues introduced due to WME updates.

Added an Edit Attributes menu which allows you to edit the unpaved, tunnel and headlights properties, segment direction, lock level and elevation on the selected segment(s).

https://imgur.com/w4cO3eH.png

Re: [Script] WME Context Menu

Posted: Thu Sep 20, 2018 6:26 pm
by JustinS83
Update released - 2018.09.20.01

Implemented "center to begin-end of street" script functionality, only displaying when a single segment is selected, with the interface being more easily usable (close to the segment/mouse) and the name being less awkwardly long :)

Clicking A or B will take you to that node and Return will take you back to the position you were at before jumping to one of the nodes.

https://imgur.com/7ig0w8W.png

Re: [Script] WME Context Menu

Posted: Thu Nov 15, 2018 3:35 pm
by JustinS83
Update released - 2018.11.15.01

Adding support for changing uturns on a single selected segment.

This operates the same as the WME interface - if the arrow is red the uturn is disabled, if it is green it is enabled. Clicking on the node or the uturn arrow will toggle the status and Both will toggle both the A and B nodes.

https://imgur.com/RMMVgVz.png

Re: [Script] WME Context Menu

Posted: Thu Nov 29, 2018 4:32 pm
by JustinS83
G_W1Z wrote:I am unable to type out the numbers 1, 2, or 3 on my keyboard (on two different computers) while running this script, and occasionally the exclamation point symbol.
Alright! Fine! I'll finally look at this (it's been reported a few times before).

:lol: