Question #680220 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680220

    Status: Open => Answered

RaiMan proposed the following answer:
Functionally no difference.

--- find."direction"
the direction is written in the code.
If you want to use the same somewhere else you have to repeat the code

--- .targetOffset
the click offset becomes an attribute of the Pattern Object.
If you want to use the same somewhere else, then you can follow the DRY 
principle(don't repeat yourself):
pat = Pattern("1231.png").targetOffset(30,3)
click(pat)
.....
click(pat)

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to