← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #270339]: if command for images

 

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

Mona posted a new comment:
But worked this way.

if not exists("Busy1.PNG",2):
    if not exists("available_2-2.PNG",2):
        if not exists("meeting.PNG",2):
            popup("Offline")
        else:
            popup("Meeting")
    else:
     popup("Available")
else:
    popup("Busy")  

Cant we get the desired ouput with if exists ??

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