Jump to content
Sign in to follow this  
Helge

Pixelsearch

Recommended Posts

Helge

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
Jos

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                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jos

found the posts again on the BGR issue: http://www.hiddensoft.com/forum/index.php?...findpost&p=8814


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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.