anonymousB Posted March 17, 2010 Share Posted March 17, 2010 (edited) I'll go straight to the point:Well, is there a possibility of making it more universal? I mean something like fixed clicks instead of absolute ones.Default clicking works like this:Move cursor 181 pixels from left screen border and 237 pixels from top screen border. Click.And, I want to make a script for many different computers and resolutions so I'd love something like:If Window named "XYZ" is active move cursor 10 pixels below the window's title bar and 2 px right from left window's border.How to do this?Thanks in advance.PS. Maybe ControlGetPos will help? But how to use it with clicks? Edited March 17, 2010 by anonymousB Link to comment Share on other sites More sharing options...
JohnOne Posted March 17, 2010 Share Posted March 17, 2010 (edited) Before "Going Straight to the point" Try having a look around the helpfile for some basic information There are a number of ways you can achieve your goal Start by looking at MouseCoordMode option And remember, it simple you just try some code and test it, your PC will not blow up. Hi, welcome to the forum. Edited March 17, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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