Question #142657 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142657
RaiMan posted a new comment:
at least you need a
scr = new Screen();
to use any Sikuli methods:
scr.dragDrop(begin,end);
scr.type("c",KEY_CMD);
m = scr.find();
for the type you additionally need:
import java.awt.event.InputEvent;
char KEY_CMD = java.awt.event.InputEvent.META_MASK;
the rest is Java slang ;-)
If you want to restrict your operations to a region (e.g. the table area):
reg = new Region(x, y, w, h)
and then use reg instead of scr.
--
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