Jump to content
Sign in to follow this  

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.

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.