Re: [Sikuli-driver] [Question #689275]: Clicking an offset from getLastMatch

2020-03-11 Thread xyz_User
Question #689275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689275

Description changed to:
I've tried various method and tried to go throu the docs but wasn't able to be 
successful:
if bColor.toString() == aColor.toString():
print "FOUND ITEM!!!"
click(lastmatch).targetOffset(-50,0))

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689275]: Clicking an offset from getLastMatch

2020-03-11 Thread xyz_User
Question #689275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689275

Status: Open => Solved

xyz_User confirmed that the question is solved:
Apologies, I found the answer

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689275]: Clicking an offset from getLastMatch

2020-03-11 Thread xyz_User
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp