← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248012]: Image recognition and animated buttons

 

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

Jeremy posted a new comment:
I have a program I wrote for an automated button. I have three buttons
and two of them are automated on the screen. They glow then not and
back. They repete that pattern. What I did was I took a screenshot of
them with the glowing in process. The program clicks on them and can
tell between the two. It doesn't select the other button.

while (s.exists(Yellow_Cards) == null){
	System.out.println("Looking for yellow cards");
	ScrollScreen m_scroll = new ScrollScreen(sizelimit);
	m_scroll.ScrollDown();		
}
s.click(Yellow_Cards);
Thread.sleep(2000);
s.click(Yellow_Cards);
Thread.sleep(2000);

This works very well for me.

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