← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172592]: File can't be found on disk

 

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

DenisD posted a new comment:
The same for scala

[error] chrome.png looks like a file, but not on disk. Assume it's text.
[error] Region.find(text): text search is currently switched off

Tried similar code on Java and it worked. The problem with Screen.doubleClick method. Found 2 possible solutions:
1. Use 2 times "click" method
2. Create a Java class, with method something like:

public void simpleDoubleClickForScala(String img) throws FindFailed{
		Screen s = new Screen();
		s.doubleClick(img);
}

and it works fine.

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