Question #146397 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/146397
Status: Answered => Solved
RAGHUBANSH confirmed that the question is solved:
Thanks RaiMan sir,
I have done with my java coding.
here is the code...
public static void launchApplication()
{
Screen s=new Screen();
try
{
Pattern p = Pattern.compile("\\d");
Matcher m = p.matcher("1296729896349.png");
if (m.find())
{
s.click("1296729896349.png",0);
s.wait("1296729896349.png");
System.out.print ("hello world");
s.click("Browse.png",0);
//s.wait("Browse.png");
}
}
catch(FindFailed e)
{
e.printStackTrace();
}
}
it will find the matcher in the pattern and if it is finding so then i
am clicking on that object.
Please correct me if i am wrong some where.. this code is working
fine...
--
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