← Back to team overview

sikuli-driver team mailing list archive

[Question #190878]: mining iron ore

 

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

how to fix my script, i kind confuse my mining iron.

my script

ironore = Pattern("iron.png").similar(0.00)
pickup = "icon picup.png"

while ironore:
    rightClick(ironore)
    choose1 = ("icon pickup.png")
    if choose1:
        click(pickup)
        wait(7)
    else:
        wait(2)

when iron gone. got error one step "  click(pickup) ". how to make wait when iron gone? that all i need to know....

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