Sign in to follow this  
Followers 0
Fi0da

Autoit command from the screen image

4 posts in this topic

Hello,

How could use an image as a parameter to a command?

Example: At certain image that appears on the screen, the bot runs a command such as mouse move, mouse click,etc ...

I can not use color

I searched the help, but not found.

Please, if you do not know the answer, do not say "Go TO HELP".

Thank you very much :(


I read ... I update ... I learn ...

Share this post


Link to post
Share on other sites



You could also check out:

Pixelchecksum()

It counts the number of pixels in a region.

You could therefor have

while 1
    if pixelchecksum() = $someknownpixels then
         do stuff
    endif
wend

This all depends on what kind of image you are waiting on. If its always the same image it should always have the same number of pixels.

-1


What are we going to do tonight Brain?Same thing we do every night Pinky try to automate the world.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Hello,

How could use an image as a parameter to a command?

Example: At certain image that appears on the screen, the bot runs a command such as mouse move, mouse click,etc ...

I can not use color

I searched the help, but not found.

Please, if you do not know the answer, do not say "Go TO HELP".

Thank you very much :(

Careful there, they layed the iixednay on the otsbayPosted Image Edited by Fulano

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

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  
Followers 0