Question #248226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248226
Status: Open => Solved
Jeremy confirmed that the question is solved:
I figured out how to get it to work.
I don't know why, but I changed it to this:
Screen s = new Screen();
try {
s.click(images.Android_Home.toString());
} catch (FindFailed e) {
// TODO Auto-generated catch
block
e.printStackTrace();
}
public enum images{
Android_Home("Android_Home.png");
private String name;
private images(String s) {
name = s;
}
public String toString(){
return "..\\..\\Images\\"+ name;
}
}
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp