potitpanda Posted November 1, 2007 Share Posted November 1, 2007 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 1, 2007 Moderators Share Posted November 1, 2007 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. Link to comment Share on other sites More sharing options...
potitpanda Posted November 1, 2007 Author Share Posted November 1, 2007 So I change all my coordinates in the script with the values given by the Client in Windows Info ? Link to comment Share on other sites More sharing options...
potitpanda Posted November 1, 2007 Author Share Posted November 1, 2007 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 ? Link to comment Share on other sites More sharing options...
Nahuel Posted November 1, 2007 Share Posted November 1, 2007 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now