Jump to content

Pixelsearch


Tius
 Share

Recommended Posts

Hello,

I've found a problem

Posted Image

I need my script to click the " Jag erkänner" but I can't really figure out how, I've tried using pixelserach without positive result :)

Here's the code I'm using

$finkan = PixelSearch( 225, 358, 225, 358, 0xCA660B)
    If @error Then
            
    Else
        MouseClick("left",$finkan[0],$finkan[1])
        Sleep(1000)
        Send("{ENTER}")

        EndIf

Any solutions?,

thanks :))

Link to comment
Share on other sites

No. You don't want to use pixel functions, you need the IE UDF. Open the helpfile and go to "User Defined Functions" > "IE Management".

Start by looking at _IE_Example(), _IE_Introduction() and _IECreate(). Read everything from the helpfile and run the examples until you understand them.

Then if you have any questions post a reproducer of your proplem and hopefully someone will help you.

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