← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #665646]: how to install ocr but already installed sikuli with options 1 and 2 missed 3

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Java programs using Sikuli features have to run on the machine that has
the target screen attached.

So if you want to automate/test a node machine using SikuliX, the node
machine has to have Java and SikuliX available on that machine and the
programs using SikuliX have to run there.

Another option is to run a VNCServer on the node machine and access the
node machine from the hub system via VNC feture of SikuliX.

BTW:
s.wait(common driver/some_img,10);
s.find(common drive/some_img).click();

can be (only one search):
s.click(s.wait(common driver/some_img,10));

Another simplification is to use the imagePath feature, so you only once specify the location of the images and then use
s.click(s.wait(some_img,10));

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.