← Back to team overview

sikuli-driver team mailing list archive

[Question #216763]: How to write a while command in java using sikuli script.jar file

 

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

I trying to use the while command to test, as i used in sikuli IDE it is working.
But in the eclipse the command used is as follows:
while (region.find(pattern).inside().find("C:\\startbutton.png")){
				
			}
where as the return type of  (region.find(pattern).inside().find("C:\\startbutton.png")) is Match type but while support only for boolean, how to use while loop in eclipse for java.

THanks in advance for support...

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