mcfr1es Posted August 15, 2004 Share Posted August 15, 2004 when are desktop x/y values used and when are window x/y values used? or is there code that allows you to choose? Ive looked through the help file with no result... Roger! You son of a big pile o' Monkey Nuts. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 15, 2004 Developers Share Posted August 15, 2004 when are desktop x/y values used and when are window x/y values used? or is there code that allows you to choose? Ive looked through the help file with no result... <{POST_SNAPBACK}>What functions are you referening to? e.g. When you talk about PixelGetColor it returns the coordinates depending on the AutoItSetOption("PixelCoordMode", mode) option .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mcfr1es Posted August 15, 2004 Author Share Posted August 15, 2004 What functions are you referening to? e.g. When you talk about PixelGetColor it returns the coordinates depending on the AutoItSetOption("PixelCoordMode", mode) option .... <{POST_SNAPBACK}>ah, so each function is different? Some use desktop and others use window? Roger! You son of a big pile o' Monkey Nuts. Link to comment Share on other sites More sharing options...
pekster Posted August 15, 2004 Share Posted August 15, 2004 ah, so each function is different? Some use desktop and others use window? <{POST_SNAPBACK}>Maybe this helps: PixelCoordMode Sets the way coords are used in the pixel functions, either absolute coords or coords relative to the current active window: 1 = absolute screen coordinates (default) 0 = relative coords to the active window [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
mcfr1es Posted August 15, 2004 Author Share Posted August 15, 2004 (edited) Maybe this helps: <{POST_SNAPBACK}>exaclty what I was after, I had the impression that different functions used different co-ord modes ty does this also apply for mouseclicks? Edited August 15, 2004 by mcfr1es Roger! You son of a big pile o' Monkey Nuts. Link to comment Share on other sites More sharing options...
pekster Posted August 15, 2004 Share Posted August 15, 2004 does this also apply for mouseclicks? <{POST_SNAPBACK}>That answer can be found in the same place in the helpfile as I mentioned above. Shoulnd't be too hard to find... [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Nutster Posted August 17, 2004 Share Posted August 17, 2004 Also take a look at AutoItSetOption. Its options CaretCoordMode, MouseCoordMode and PixelCoordMode determine how various parts of AutoIt look at co-ordinates. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... 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