sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02433
Re: [Question #154389]: exists command is not working in Win XP 64bit
Question #154389 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/154389
Status: Open => Answered
RaiMan proposed the following answer:
reading your code, the resulting filename for the image to search is:
"C:\\users\\xx\\Images\\winxp.image.png"
Is this what you expect?
To find out what happens, just replace exists() with find(), since this
would show the cause, if any exception is raised.
Only to check, wether the resulting filename works, try this:
import os
imgDir = "C:\\users\\xx\\Images"
print find(os.path.join(imgDir, "winxp.image.png")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.