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

I am attempting to click an image to the left of a found image
the item I want it to click is an arrow on a content tree so there is multiple 
of these I'm only interested in the arrow to the left of the image but I would 
like to re use the command with variables 

apologies if it is rubbish I have only been scripting for a week

here is my current code

def ClickLeft(img1, errorno, errormsg):
    f=find(img1)
    if f:
        f.left()
        click(Img.Plus)
    else:
        addErrMsg(errorno, errormsg)

the problem I'm having is it is clicking to the left and up.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to