← Back to team overview

sikuli-driver team mailing list archive

[Question #689275]: Clicking an offset from getLastMatch

 

New question #689275 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689275

Is there a way to actually click an offset from the getLastMatch?

I've tried various method and tried to go throu the docs but wasn't able to be successful:

        aColor = Color(0xa46465)
        bColor = myRobot.getPixelColor(p.x, p.y)
        lastmatch = getLastMatch()
        if bColor.toString() == aColor.toString():
            print "FOUND ITEM!!!"
            click(lastmatch).targetOffset(-50,0)) #<---- This is the issue otherwise click(lastmatch) with fine by itself

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.