I need this feature too. I am not clear what new feature you have added. Based on your post, I would thought the code below will work:
Match match = screen.find("/images/abc.png"); //i also tried screen.find("images/abc.png")
if(match != null)
{
System.out.println("I found the image");
}
else
{
System.out.println("I could not find the image")
}
However, I got the error:
[error] /images/abc.png looks like a file, but not on disk. Assume it's text.
FindFailed: Text search currently switched off
Line 1671, in file Region.java
[error] Region.find(text): text search is currently switched off
I need this feature too. I am not clear what new feature you have added. Based on your post, I would thought the code below will work:
Match match = screen. find("/ images/ abc.png" ); //i also tried screen. find("images/ abc.png" )
if(match != null) out.println( "I found the image"); out.println( "I could not find the image")
{
System.
}
else
{
System.
}
However, I got the error:
[error] /images/abc.png looks like a file, but not on disk. Assume it's text.
FindFailed: Text search currently switched off
Line 1671, in file Region.java
[error] Region.find(text): text search is currently switched off
Thank you