Jump to content
Sign in to follow this  

Pixelsearch error

Recommended Posts


I am trying to get a certain bot running, and it needs to check for a certain color on a pixel, and then do a response if that color changes.

the problem is, it has to wait until that color is met, and that could go upto a few minutes, but now I get all the time Error Allocating Memory messages.

hereĀ“s my code so far:

$checksum = PixelChecksum(433,699, 430,700); checks the color

While $checksum = PixelChecksum(433,699, 430,700); if not changed, then

Sleep(50); wait


MouseClick ( "left" , 491, 965 , 1)

Send("and thats 8, please press accept")


I think I am missing something here, but i cant figure out what...

Share this post

Link to post
Share on other sites

You wouldn't get that error with what you are showing.

You would get that error more than likely if you had it in a function that was calling itself over and over.

It's always best to post your script rather than what you "think" might be the issue, sometimes it's not that at all.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post

Link to post
Share on other sites

yeah, your right, i had a running script in the beginning that caused the error. thanks for a fast reply though.

Edited by XchokeholdX

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.