Jump to content

Recommended Posts

Posted

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

  • Moderators
Posted

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.

Posted

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 ?

Posted

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.

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
×
×
  • Create New...