Question #269784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269784
Status: Open => Answered
Eugene S proposed the following answer:
Not sure how are you trying to execute "type" in your example. It can't
be a standalone command. It must be attached to an appropriate class,
Screen class for example.
The following example worked well for me:
@Test
public void test3() {
Screen sc = new Screen();
sc.type("a", KeyModifier.CTRL);
sc.type("c", KeyModifier.CTRL);
System.out.println(App.getClipboard());
}
--
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