Menu

[SOLVED] Predefine Window to Measure

2021-04-22
2021-10-10
  • Harry Rogers

    Harry Rogers - 2021-04-22

    HI
    Thanks for this very versatile screen ruler, it's a great utility.
    An additional feature that would greatly enhance it from our perspective would be the ability to invoke it positioned at a particular window and save the coordinates of a selected position - Ideally, for our use case the window handle of the target window as a calling parameter would be great, we could then call it without having to use the Z option to select the required window.
    e.g something like "c:\ruler\screenruler.exe -H26425" would start an instance with the ruler positioned around the window with the given handle. Maybe a second parameter could be used to identify a text file to save clicked positions in ? e.g. "c:\ruler\screenruler.exe -H26425 -Sc:\somelocation\myCoords.txt" meaning each click would result in c:\somelocation\myCoords.txt having a new row added containing x,y values ?

    What do you think?

    Best regards and many thanks for your consideration.

     
  • Bluegrams

    Bluegrams - 2021-07-29

    Hi,

    thanks for the suggestion and sorry for the delayed answer. What you describe makes sense to me, so I I'll try to consider this with a coming feature update.

    Regards
    Alex

     
  • Bluegrams

    Bluegrams - 2021-08-05

    Hi again, there now is a basic implementation of the feature you requested in v.0.9 of Screen Ruler. You can start the app with screenruler.exe --hwnd 12345 to start the ruler positioned around the window with the given handle. Alternatively, matching via the window title is possible (screenruler.exe --title "Title").

    Hope this helps!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB