Looking for accurate and adjustable on-screen ruler

WeThotUWasAToad used Ask the Experts™

Does anyone know of an on-screen ruler or measuring tool that is very customizable?

I have found several downloadable ruler apps online (which are said to be able to display lengths in pixels/centimeters/inches) but most of them are old or inaccurate or in another language.

For example I'm using a 28" 4K 3840x2160 monitor (Acer CB281HK) which is set to 150% scale. I also have an AutoHotkey (AHK) script* which enables me to capture the pixel coords of any location currently occupied by the mouse cursor. Thus, it's simple to check a particular screen location to test a ruler for accuracy.

I don't necessarily need freeware and would be willing to pay a reasonable price for some utility or app if it is accurate, can be rotated to any degree setting, can be set to always-on-top, and is adjustable.

By "adjustable", I mean to some percentage of the default. For example, some rulers return a pixel length 2/3 of actual which indicates they are not compensating for my screen being set to 150% scale. That seems easy to fix by having a scaling box to enter the 150%.

Another setting in which this would be useful is sometimes when I use Windows Media Player (WMP), I would like to have an always-on-top time indicator. So for example, I'm currently watching a video that is 32 minutes long and by mousing over the bottom of WMP, I can see a numerical indicator showing where I am in the video vs the video length (eg 20:23/32:34). But that goes away as soon as the mouse is moved away and even so, the time bar has no associated index nor does a ToolTip appear showing the time of somewhere on the bar you point to as it does in, for example, YouTube videos. With an adjustable ruler however, I could stretch the graphic of the ruler so that 32 (cm say), corresponds to the length of the video. That would then enable me to instantly move to any "time" point in the video with a single click.

Thanks for any suggestions.

*In case anyone is interested, here is the AHK script I mentioned above. It's actually quite useful because it displays x & y mouse cursor coordinates relative to the upper left corner of the SCREEN and RELATIVE to the currently active window. It also displays the pixel's color in (hex) BGR for AHK scripts and as separated R, G & B values for MS Office apps:

^F6::			; GetMousePosition and pixel color
MouseGetPos, xRelativePos, yRelativePos
CoordMode, Mouse, Screen
MouseGetPos, xScreenPos, yScreenPos
CoordMode, Pixel, Screen
PixelGetColor, color, %xScreenPos%, %yScreenPos%
	R := (color & 0x0000FF)         ; 0x00 = 0
	G := (color & 0x00FF00) >> 8    ; 0x80 = 128
	B := (color & 0xFF0000) >> 16   ; 0xFF = 255
Msgbox The cursor is located at:
	`n        SCREEN coords
	`n                x=%xScreenPos%  &  y=%yScreenPos%
	`n        RELATIVE coords
	`n                x=%xRelativePos%  &  y=%yRelativePos%
	`nThe color of that pixel is:
	`n        (BGR) %color%, or
	`n        (RGB)  %R%  %G%  %B%

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Test your restores, not your backups...
Top Expert 2016
A few you might look at, if you haven't already, although I can't recommend any, I typically have seen problems on high DPI monitors with some Windows apps, they haven't all caught up to that difference yet...

EirmanChief Operations Manager
I use this tiny utility to get the coordinates of my mouse etc.

It works fine with Win10 at all the resolutions I have tried so far.
It's a portable app (i.e. it doesn't touch the registry)


Thanks for the suggestions.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial