Sign in to follow this  
Followers 0
Guest Derek G

Pixel Colors differ between versions

2 posts in this topic

I am trying to extract anticipatory billing information from Microsoft Money that does not have any built in Export interface provided. The Microsoft GUI is fairly non-standard and I have resorted to using pixel colors to calculate the position of GUI controls and buttons etc. Although not very elegant, it works great.

I have updated from AutoIt version 3.0.101.0 to the most recent 3.1.0.0 and I find that the pixel colors are now interpreted with fairly substantially different values. Is there a predictable reason why this should happen and is there a quick fix for me to keep my existing pixel colors - rather than re-engineer the values in the script code?

Share this post


Link to post
Share on other sites



According to the help file (History / ChangeLog):

As of August 4, 2004:

- Major Change: Colors now default to the standard RGB format rather than the previous BGR format.

    This affects PixelSearch, PixelGetColor.

The "ColorMode" option has been added to allow old scripts to run with the old BGR mode, just

place this line at the top of your script to use the old method:

Opt("ColorMode", 1)


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0