Can relative positions of two monitors be changed numerically?


  1. Posts : 75
    Windows 10 Home
       #1

    Can relative positions of two monitors be changed numerically?


    I have a two-monitor Windows 10 v. 2004 system. Settings > Display shows the monitors as two icons that I can drag & drop to adjust their relative position. I have several macros that move the mouse to specific screen locations, and these are thrown off if the relative positions of the monitors change. For whatever reason (crashes, etc.) this can happen. I can readily drag & drop the icons back to their approximate former location, but I can't reset them exactly - dragging & dropping is just too crude. Is there some way of specifying the relative positions numerically?
    Last edited by coffent; 07 Aug 2020 at 07:27.
      My Computer


  2. Posts : 1,310
    Windows 10
       #2

    if i understand correctly you have extended display over two screens and have different set of icons on each screen and you belt macros that click them , now would you rephrase the rest ? also may you elaborate on what tool you used to build those macros ?
      My Computer


  3. Posts : 75
    Windows 10 Home
    Thread Starter
       #3

    The attached screenshot of Setting > Display shows the two monitors as icons that can be moved relative to one another. Monitor 1 is the main monitor, so that one is not a problem: the upper left corner is always (0, 0). Monitor 2 can be moved with respect to Monitor 1, so that the address of the upper left corner can change. A macro that interrogates a pixel at (say) (100,100) on Monitor 2 will address the wrong pixel if the position of Monitor 2 has changed since the macro was written. If the position of Monitor 2 does change, I'd like to be able to move it back to exactly where it was before the change. Hence the need for a numerical as opposed to drag-and-drop way to adjust Monitor 2's position.

    The macros were built using Macro Express Pro, which has a function that gets the color value of a particular pixel.
    Can relative positions of two monitors be changed numerically?-2020-08-07-21_11_13-can-relative-positions-two-monitors-changed-numerically_-windows-10-.jpg
      My Computer


  4. Posts : 23,281
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #4

    coffent said:
    The attached screenshot of Setting > Display shows the two monitors as icons that can be moved relative to one another. Monitor 1 is the main monitor, so that one is not a problem: the upper left corner is always (0, 0). Monitor 2 can be moved with respect to Monitor 1, so that the address of the upper left corner can change. A macro that interrogates a pixel at (say) (100,100) on Monitor 2 will address the wrong pixel if the position of Monitor 2 has changed since the macro was written. If the position of Monitor 2 does change, I'd like to be able to move it back to exactly where it was before the change. Hence the need for a numerical as opposed to drag-and-drop way to adjust Monitor 2's position.

    The macros were built using Macro Express Pro, which has a function that gets the color value of a particular pixel.
    Can relative positions of two monitors be changed numerically?-2020-08-07-21_11_13-can-relative-positions-two-monitors-changed-numerically_-windows-10-.jpg

    I understand what you're asking for. I would imagine it would be easier to fix the macro, than to find the x, y coordinates of say, the upper left corner of your two screens in... Microsoft space, so to speak.
      My Computer


  5. Posts : 75
    Windows 10 Home
    Thread Starter
       #5

    Changing the coordinates referred to in the macros is what I've been doing so far. The problem is I've got a number of macros that refer to specific screen coordinates, and it's a pain to find and rewrite them all. I could rewrite them to make them more robust to changes caused by computer crashes, but it would be much easier just to reset the monitor position when occasionally necessary. I assume the monitor position must be stored somewhere in the Registry, but I don't know where.
      My Computer


  6. Posts : 1,310
    Windows 10
       #6

    coffent said:
    The attached screenshot of Setting > Display shows the two monitors as icons that can be moved relative to one another. Monitor 1 is the main monitor, so that one is not a problem: the upper left corner is always (0, 0). Monitor 2 can be moved with respect to Monitor 1, so that the address of the upper left corner can change. A macro that interrogates a pixel at (say) (100,100) on Monitor 2 will address the wrong pixel if the position of Monitor 2 has changed since the macro was written. If the position of Monitor 2 does change, I'd like to be able to move it back to exactly where it was before the change. Hence the need for a numerical as opposed to drag-and-drop way to adjust Monitor 2's position.

    The macros were built using Macro Express Pro, which has a function that gets the color value of a particular pixel.
    Can relative positions of two monitors be changed numerically?-2020-08-07-21_11_13-can-relative-positions-two-monitors-changed-numerically_-windows-10-.jpg
    Try this free tool to assign the positions of your monitors by co-ordinates : https://www.nirsoft.net/utils/multi_monitor_tool.html



    There is also DisplayFusion if you need perfection , it does that but its a paid app however : Monitor Configuration • Features • DisplayFusion by Binary Fortress Software



    If not , here are bunch of tools to wad through : Free DisplayFusion Alternatives for Windows
      My Computer


  7. Posts : 75
    Windows 10 Home
    Thread Starter
       #7

    Hi nIGHTmAYOR,

    I tried Multi-Monitor Tool & it does exactly what I need. Thanks!

    (BTW, small point: it appears one cannot set the monitor coordinates directly from MMT, but if you save the current configuration, you can edit the file with a text editor and then load the edited file back into MMT and bingo! the monitor position is changed.)

    With that help, I'm marking the problem solved.
      My Computer


  8. Posts : 18
    10 (& hopefully 7) Pro64
       #8

    nIGHTmAYOR said:
    Try this free tool to assign the positions of your monitors by co-ordinates : Enable/disable/configure multiple monitors on Windows

    There is also DisplayFusion if you need perfection , it does that but its a paid app however : Monitor Configuration • Features • DisplayFusion by Binary Fortress Software

    If not , here are bunch of tools to wade through : Free DisplayFusion Alternatives for Windows
    Thank you Sir, you pointed me in the direction and helped me with my task of Positioning multiple monitors accurately.

    Can relative positions of two monitors be changed numerically?-multimonitor-setup.jpg

    I used a combination of the MultiMonitor tool and DPEdit from gitub with cross check in Nvidia control panel.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:56.
Find Us




Windows 10 Forums