Sign in to follow this  
Followers 0
potitpanda

Scripts and Screen Resolutions

5 posts in this topic

Is it possible that my script can run with all resolutions ?

I Explain,

I have made Script in 1024X768 with mouse coords

But when i run on 800X600 my script is bugging a lot because coords are not valid

How to resolve it ?

Thanks a lot for all submissions !

Good night

Potit Panda

Share this post


Link to post
Share on other sites



Use client coordinates instead of screen coordinates and or use control functions.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

So I change all my coordinates in the script with the values given by the Client in Windows Info ?

Share this post


Link to post
Share on other sites

How to determine which resolution is ?

IS the screen coordinates adapt to all screens with all resolution or Have i to determine in the script, the resolutions and all the coordinates ?

Share this post


Link to post
Share on other sites

What he meant is that you should set the mouse coordinates to be relative to the active window, not the whole screen AND/OR use the Control*() functions, which is better.

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
Sign in to follow this  
Followers 0