Sign in to follow this  
Followers 0
Helge

Pixelsearch

5 posts in this topic

PixelSearch( 0, 0, 20, 300, 0xFF0000)

What does the 0x mean ? :whistle:

And wasn't there someone here at the forum saying that PixelSearch and

PixelGetColor was returning BGR instead of standard RGB....? B)

Share this post


Link to post
Share on other sites



Helge,

the 0x thing is the hex notation ==> from the help file:

Integers (whole numbers) can also be represented in hexadecimal notation by preceding the integer with 0x as in 0x409 or 0x4fff (when using hex notation only 32-bit numbers are valid). 

I also remember seen something about returning the colors is the wrong sequence but can find it anymore...


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks for answering so fast, JdeB !

Share this post


Link to post
Share on other sites

Thanks again !

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