← Back to team overview

sikuli-driver team mailing list archive

[Question #668758]: Trying to externalize the target offset, the same as I have with the similarity

 

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

So this is an example that works

    mySimilarity = 0.81
    if exists(Pattern(Pattern("1519473014822.png").targetOffset(1,-13)).similar(mySimilarity)):

But I'm wanting to do the same with targetoffset

    mySimilarity = 0.81
    testtargetOffset = "1,-8"
    if exists(Pattern("1525837542502.png").targetOffset(testtargetOffset)).similar(mySimilarity)):

But no matter how many times I play aroud with the Colons it's never happy.

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