← Back to team overview

sikuli-driver team mailing list archive

[Question #661467]: Find multiple items on the same "screen sample"

 

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

Hi Everyone,

I'm trying to figure out how I could make Sikuli check the same "screengrab" or "sample of screen" multiple times.
And I'm not talking about the image inside the find() command, I'm talking about when Sikuli is looking at the screen to find things. 

I want to be able to get a screen "sample" and let Sikuli find multiple things in that one sample. 
With rapidly changing information this is the only way I could sample the screen once and then let Sikuli find multiple things, then sample again, let it find multiple things, etc. etc.

Is this possible?

I was thinking something like this?
sample("temp.png")
exists(Pattern("thing01.png").exact(), 0, "temp.png")
exists(Pattern("thing02.png").exact(), 0, "temp.png")

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