Jump to content

Autoit command from the screen image


 Share

Recommended Posts

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

Link to comment
Share on other sites

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!

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