Jump to content

Get resolution from another monitor


Recommended Posts

Link to comment
Share on other sites

Something like this here?

Global $hFullScreen = WinGetHandle("[TITLE:Program Manager;CLASS:Progman]")
Global $aFullScreen = WinGetPos($hFullScreen)

MsgBox(0, "Test", "Screen Resolution of 2nd monitor: " & Abs($aFullScreen[2] - @DesktopWidth) & " x " & Abs($aFullScreen[3] - @DesktopHeight))

 

Should work only for 2 monitors.

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...