Find method in Java
When the find method is called in my program it seems to go into a state of limbo...
When I call the find method when the URL of the image is incorrect it returns a FindFailed exception like it is supposed to, but when the URL is correct and the image is located on the screen "Searching for Server" only is printed to the log and the application hangs at that point, no matter how long I wait, any Idea why this is happening? The image it is trying to find is not on the screen so it should just throw the exception but it does not
import edu.mit.
Screen screen = new Screen();
Pattern server1 = new Pattern(
try{
writelog(
screen.
writelog(
}
catch (Findfailed exception){
ffwritelog
}
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Joe Smith
- Solved:
- Last query:
- Last reply: