Jump to content
Sxit

Inaccurate Desktop Resolution

Recommended Posts

Sxit

Using the autoit window info tool or using the macros @desktopwidth or @desktophieght gives me a resolution of 1600 x 900 when in fact I'm using a resolution of 1920 x 1080 is there anyway to correct this? it's making scripting extremely difficult.

Share this post


Link to post
Share on other sites
Jos

Using the autoit window info tool or using the macros @desktopwidth or @desktophieght gives me a resolution of 1600 x 900 when in fact I'm using a resolution of 1920 x 1080 is there anyway to correct this? it's making scripting extremely difficult.

What about you show some more details on what you are seeing when ?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Xandy

PATH OF EXILE!

Seriously though that first (left) picture seems to have a 1600 rect outline on it. What's up with that?

Share this post


Link to post
Share on other sites
Sxit

Lol I'm glad you like PoE but yeah you can see where it thinks my resolution is.

Share this post


Link to post
Share on other sites
Sxit

I've tried all three but I suspect that the problem is deeper than the info tool considering the macros are also giving the wrong size. Can autoit detect resolutions larger than 1600x900? I feel like it totally can.

Share this post


Link to post
Share on other sites
DocTorCoder

I've tried all three but I suspect that the problem is deeper than the info tool considering the macros are also giving the wrong size. Can autoit detect resolutions larger than 1600x900? I feel like it totally can.

Take a look at this,maybe will work!

https://www.autoitscript.com/wiki/FAQ#How_can_I_get_the_screen_resolution_in_multiple_monitor_setups.3F


DocTorCoder

Share this post


Link to post
Share on other sites
Sxit

Nope, still says 1600x900 but thanks for giving it a shot.

Share this post


Link to post
Share on other sites
Sxit

I don't think so? How would I know? My Nvidia software says it's up to date pretty sure that's all I have.

Share this post


Link to post
Share on other sites
Sxit

It's windows 8.1 and my screen is a multi touch so maybe...? idk.  geforce 745m. 

Share this post


Link to post
Share on other sites
Sxit

SLOVED IT!

the problem was in fact windows 8.1 screen scaling.

The white rectangle in the first screen shot I posted was showing what my resolution "looks like"

After going into control panel>display I checked "let me choose one scaling for all displays" and then selected 100%

autoit now displays the correct resolution.

yay!

Note to developers: please implement a way to detect the right resolution when using screen scaling.

thanks for everyone's input. hopefully this will help others too.

Edited by Sxit
  • Like 1

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

×