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

    Status: Open => Answered

RaiMan proposed the following answer:
Are you using the Junit feature of Eclipse?

Just run this snippet as normal Java application:

import org.sikuli.script.*;

public class Test {

        /**
         * @param args
         */
        public static void main(String[] args) throws FindFailed{
                Screen s = new Screen(0);
                System.out.println(s.userCapture());
                new Win32Util;
        }
}

This should display the capture prompt on the primary screen. After
making a selection, the program should end without errors

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