← Back to team overview

sikuli-driver team mailing list archive

[Question #154389]: exists command is not working in Win XP 64bit

 

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

Hii,

Previously exists command  seems to work but at present this command is not working 

when trying to capture new image then it is not working but previous scrips with exists command are working fine now also....

i am using Win XP 64bit with service pack 2.......checked in virtual machine 64bit also it is not working...

My script is:

setBundlePath("C:\\users\\xx\\Images")  ## all images are saved in this folder

os = "winxp"

while True:
    r=exists(os+".image.png")
    if r:
       print("image found")
       break
    else:
       print("image not found")
       break

Result is image not found.......

but if i remove exists then it is ok result is  image found...

and if i replace image in place of file name i.e.,  r=exists(image)  then also it is ok....

I have checked saved images path it is fine.....

so please help me out what is the problem with exists command......

Thank u in advance

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