sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54894
[Question #690155]: how to use a button to use selectRegion in java
New question #690155 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690155
i want to use sikuli with java
now i want create a button and the button can use the sikulix the region selectRegion fuction. but i add the method to the button
it not work and when my program done the selectRegion will done
this is my code
button.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e) {
System.out.println("Select");
Region ac = s.selectRegion();
System.out.println(ac);
}
});
then wait (5~10s) will appear the selectRegino but is wait to long
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.