← Back to team overview

sikuli-driver team mailing list archive

[Question #207935]: region.find("some text")

 

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

I have some troubles with region.find("text") .

If I target it on e.g. Menu item of the desktop app main menu, it works fine.
But if targeting on UI that's being drawn by open GL (the text font is just the same) it gives me 

Exception in thread "main" FindFailed: can not find World on the screen.
Line ?, in File ?
	at org.sikuli.script.Region.handleFindFailed(Region.java:420)
	at org.sikuli.script.Region.wait(Region.java:511)
	at org.sikuli.script.Region.find(Region.java:381)
	at TestSikuli.main(TestSikuli.java:21)
Using substitute bounding box at (36,0)->(226,12)
Using substitute bounding box at (14,9)->(36,26)
Using substitute bounding box at (0,0)->(10,10)
Using substitute bounding box at (14,9)->(36,26).

Are there any limitations on where this method actually works?

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