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

Hello, 

how to get the name of an image passed to a function as an object ?

def WaitAndClick(image,time,doclick = 1):
    try:    
        wait(image,time)
        if doclick==1:
            click(image)
            sleep(5)
    except:
        exit("no image found")

in the excpet i would like to pu the image name or entire object even ? 

image.name is not working, nor any other attribute. 

-- 
You received this question notification because your team Sikuli Drivers
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