some1 Posted January 5, 2008 Share Posted January 5, 2008 Hey I am checking some specific pixels for colors, but it will only find the right place in a vista environment... in xp the same coords is a little higher and more to the left than in vista... How come, and how can I fix this??? I experienced the same when constructing the gui for the app... using $WS_SYSMENU... There I just added 25 p to the hight, and 5 to the width... help? Link to comment Share on other sites More sharing options...
LarryDalooza Posted January 5, 2008 Share Posted January 5, 2008 pixelcoordmode AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
some1 Posted January 5, 2008 Author Share Posted January 5, 2008 pixelcoordmodeYa I use that allready... opt(pixelcoordmode, 0) and opt(mousecoordmode, 0)...I found a thread that told me that it was because of the aero interface in vista being different than the other OS'es in some way... Im just looking for a way to fix that... A way I have though off could be to get the os-version and, if its vista with aero enabled, adjust the coords in some way... It's just a pain... It would be much easier if there was a way to fix it.... Link to comment Share on other sites More sharing options...
LarryDalooza Posted January 5, 2008 Share Posted January 5, 2008 use picelcoordmode 2 ... 2 = relative coords to the client area of the active window And the color may differ if Vista is applying some transparency... Lar. AutoIt has helped make me wealthy Link to comment Share on other sites More sharing options...
some1 Posted January 5, 2008 Author Share Posted January 5, 2008 use picelcoordmode 2 ...2 = relative coords to the client area of the active windowAnd the color may differ if Vista is applying some transparency...Lar.<< ok, will try... thx alot ^^ 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