Sign in to follow this  
Followers 0
Nef

[Help]Pixel Detection

5 posts in this topic

#1 ·  Posted (edited)

Im trying to learn how to program in autoit, and I'm having some problems when I try to detect some advanced pixels.

I want to know what function can I use to detect a pixel like this?

Posted Image

Suppose I cant use PixelSearch cause have many colors in the screen similiar to this icon.

Thanks

Edited by Nef

Share this post


Link to post
Share on other sites



Im trying to learn how to program in autoit, and I'm having some problems when I try to detect some advanced pixels.

I want to know what function can I use to detect a pixel like this?

Posted Image

Suppose I cant use PixelSearch cause have many colors in the screen similiar to this icon.

Thanks

lol that ain't a pixel, thats a whole bunch of 'em. You can use PixelSearch but it'll be tedious I think. If you want to search for the existence of a shortcut, as it seems, a much simpler approach will be:

If FileExists(@DesktopDir & "\Word.lnk") Then
    MsgBox(64, "Aha!!", "Aha!!, I found the shortcut to Word")
Else
    MsgBox(64, "Aww :(", "Aww :(, I couldn't find the shortcut to Word")
EndIf

Share this post


Link to post
Share on other sites

lol that ain't a pixel, thats a whole bunch of 'em. You can use PixelSearch but it'll be tedious I think. If you want to search for the existence of a shortcut, as it seems, a much simpler approach will be:

If FileExists(@DesktopDir & "\Word.lnk") Then
    MsgBox(64, "Aha!!", "Aha!!, I found the shortcut to Word")
Else
    MsgBox(64, "Aww :(", "Aww :(, I couldn't find the shortcut to Word")
EndIf

Hem that for check if file exist:

i have same question too,

i want to make program like find function in word or window or etc but its find picture instead

what i want basically like this:

i want the program that can find me this image :

Posted Image

in this image:

Posted Image

before i use pixel detection but it become problem if the color is almost same.

help me please

Share this post


Link to post
Share on other sites

My question is jsut like the anton23 . I didnt explained well. I want to know what function can I use in autoit to treat pixels in autoit.

http://img23.imageshack.us/i/52478840.jpg/

Suppose I want to find word icon in that photoshop screen, but hav others icons in blue that that can confict.

Im just studying how to program autoit, I know like u said it will be tedious, do programs in c/c++ is tedious.

Thanks for helping me ^^

Share this post


Link to post
Share on other sites

My question is jsut like the anton23 . I didnt explained well. I want to know what function can I use in autoit to treat pixels in autoit.

http://img23.imageshack.us/i/52478840.jpg/

Suppose I want to find word icon in that photoshop screen, but hav others icons in blue that that can confict.

Im just studying how to program autoit, I know like u said it will be tedious, do programs in c/c++ is tedious.

Thanks for helping me ^^

oh ok then maybe may be of assistance

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