Jump to content

short questions


Wacken
 Share

Recommended Posts

I call pixelsearch(100,100,200,200,color)

The pixel to be found is located on 120,120.

1) Will it return?

a: [20,20]

b: [21,21]

c: [120,120]

I want to search 1 line of 50 pixels long:

-Pixelsearch(100,100,100,150)

-Or i use a loop and check 50 pixels individually for their collor.

2) Does this make a significant difference in exectution speed ?

Link to comment
Share on other sites

I call pixelsearch(100,100,200,200,color)

If your in doubt try this

pixelsearch(100,100,200,200,color)

pixelsearch(99,99,201,201,color)

If they return the same then [120,120] if not then you should be able to see what concept they are returning at

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Link to comment
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
 Share

  • Recently Browsing   0 members

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