Jump to content

Multiple scripts vs 1 big script


Recommended Posts

I have a program I want to read-out the pixels from. I need to check the upper-left area for a certain number (a 4 or a 5 which I do with rougly 15 pixel checks) and I need to search another large part for a set of pixels (roughly 500 x 600 pixels and I am looking for one with a white color).

Now the question: is it better to write 2 scripts that each check (which will cause quite a bit of process switching overhead I gues) or is it better to make 1 big script.

Better means less CPU time is used on AutoIT processing.

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