Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package sikuli2;
- import org.sikuli.script.*;
- public class Sikuli2 {
- public static void main(String[] args) {
- Screen s = new Screen();
- try{
- s.click("imgs/a.png", 0);
- s.wait("imgs/a1.png");
- s.type(null, "hello world\n", 0);
- }
- catch(FindFailed e){
- e.printStackTrace();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment