Fi0da Posted March 25, 2010 Posted March 25, 2010 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 ...
AdmiralAlkex Posted March 25, 2010 Posted March 25, 2010 Maybe this:Image Search LibraryOr this:Find BMP in another BMP .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Negative1 Posted March 25, 2010 Posted March 25, 2010 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.
Fulano Posted March 25, 2010 Posted March 25, 2010 (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 colorI 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 otsbay Edited March 25, 2010 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now