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

    Status: Open => Answered

RaiMan proposed the following answer:
public static void main(String[] args) throws InterruptedException, 
AWTException{
  Screen s = new Screen();
  Robot Keyboard = new Robot();
  try {

   String myPath = ("C:\\SmartClientValidacao\\SmartClient.exe");
   App.open (myPath);
   s.wait("image-login/TOTVSParimet.png", 15.0);
   s.click("Ok.png", 0);
   s.wait("image-login/Sejabemvindo-1.png", 15.0);


--- the screen object ( Screen s = new Screen(); ) is only needed once and can 
be used all over the place

-- 
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

Reply via email to