Looking for accurate and adjustable on-screen ruler


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

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bill PrewCommented:
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...


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EirmanChief Operations ManagerCommented:
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)
WeThotUWasAToadAuthor Commented:
Thanks for the suggestions.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.