← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #171835]: I need some Variable Help :D

 

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

    Status: Open => Solved

chaz7201 confirmed that the question is solved:
rewrote this with out var's and it works perfectly

def findfriendresourcepage():
    click(Pattern("1316552206794.png").targetOffset(47,-5))
    click(Pattern("rA.png").targetOffset(-1,-46))
def clicknextpage():
    click(Pattern("vs.png").similar(0.80))
r1=Region(755,322,181,304)
findfriendresourcepage()
while not r1.exists("1.png"):
    while r1.exists("1316553886107.png",1):
        r1.click("1316553886107.png")
        click("1316553825021.png")
    clicknextpage()

I would still love to know how to work with the vars like i was trying
to do.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.