sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15604
Re: [Question #161674]: How to use Target offset functionality in java
Question #161674 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/161674
Seth Carter posted a new comment:
@Lasya the import is "import org.sikuli.script.Pattern;"
my syntax ended up being:
Pattern pImage = new Pattern(fullPath("close.png")).targetOffset(30,0);
Match r = s.exists(pImage, 1);
s.click(r, 0);
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.