← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232183]: [How To] set variable value from OCR numerics

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Woooow, shuffling bits :--))

for 2-state situations we have the boolean True and False:

betPlayer = True # betPlayer = False means banker bet

if exists("win_image.png"):
    betPlayer = True

if betPlayer:
    do something

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