Jump to content
Sign in to follow this  
Tius

Pixelsearch

Recommended Posts

Tius

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 :))

Share this post


Link to post
Share on other sites
AdmiralAlkex

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.