← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #180457]: Region click + next point of region

 

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

supermaster gave more information on the question:
i dont know how many errors are there (professionally) as i've only got
this much and there are not many errors but does work to extent.


    while dd < 28:
        rightClick (Region(X,Y,W,H))
        click (Region(X,Y+42,W,H))
        wait(.05)
        dd = dd + 1
        X = X + 42

        if (dd == 5):
            Y = 615 # to set 2nd row
            X = 910
        if (dd == 9):
            Y = 660 # to set 3nd row
            X = 910
        if (dd == 13):
            Y = 690 # to set 4 row
            X = 910
        if (dd == 17):
            Y = 720 # to set 5 row
            X = 910
        if (dd == 21):
            Y = 765 # to set 6 row
            X = 910
        if (dd == 25):
            Y = 800 # to set 6 row
            X = 910
            W = 5
            H = 5
        if (dd == 28):
            Y = 570 # to set 7 row
            X = 910

maybe anyone can make it professional :)

regards

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