Jump to content

Recommended Posts

Posted

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)

  • Developers
Posted

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...

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.
  :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...