Belini

Get resolution from another monitor

4 posts in this topic

#1 ·  Posted

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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
1 person likes this

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!
¯\_(ツ)_/¯

Share this post


Link to post
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