← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689478]: Highlight Images

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- if reg.exists([imm1.PNG, imm2.PNG, imm3.PNG, etc], 0):

not possible - only one image as parameter allowed

--- second trial (see docs!)

test=[imm1.PNG, imm2.PNG, imm3.PNG, etc]
matches=reg.findAnyList(test)
for match in  matches:
    match.highlight(1)

The solution: (see docs!)

for match in  matches:
    match.highlightOn()
wait(1)
highlightAllOff()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.