← Back to team overview

sikuli-driver team mailing list archive

[Question #273012]: SikuliX - ifexist - else - problem

 

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

I have no background in programing in any language - my whole knowledge is coming from this forum.

Im trying to build game bot for autobidding auctions. 

#setting for faster clicks
Settings.WaitScanRate = 10
Settings.MoveMouseDelay = 0

#setting for loop
for x in range(0, 100):

#find player with price range setup manually
    doubleClick("1445568109106.png")
    if exists("dialogbox.png"):
        click("ok-button.png")
    else:    #my problem it takes 2-3s. to click on image i want, below I have location where to click it didnt help, I need to click in less then .5 sek 
        click(Location(63, 671))
        click("1445569714699.png")
        if exists("1445641091865.png"):
            click("1445641134999.png")
        else:
            click("1445569815423.png")
            click("1445569998617.png")
            click("1445570026802.png")

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