Jump to content

[Help ImageSearch] Negate 1 color to match on screen


Zaxel
 Share

Recommended Posts

Hello folks,

I'm currently using imageSearch library on my project and it's working great.

I'm just having some problems on some images that have some transparent areas. I heard there is a function in ahk where we can specify a color within the image that will match any color on the screen and I was wondering if there is a same function in autoit imagesearch library.

If someone has used it already, can you please provide just a quick sample of the function?

Thank You and more power to you guys! :)

Link to comment
Share on other sites

I think

PixelSearch

Is the function your looking for, as imagesearch is used for searching images on the screen, not a single color on that screen.

By clicking on the pixelsearch function in that box it should take you to the helpfile, which has an example.

PS. Welcome to the AutoIt forum Zaxel! :)

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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