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

    Status: Open => Answered

RaiMan proposed the following answer:
--- How this Java Robot was working perfectly fine in Sikuli rc3 ?
Might be, that in RC3 the java.awt.Rectangle class was pre-imported on the 
Script level.
This is definitely not the case now. So you have to import it yourself. 
Using not documented features in Sikuli is always a risk, since they might 
change without notice.

But I do not want to push you to Sikuli features for your solution.
Using appropriate Java code in Jython scripts is one of the favorite features 
of Jython.

--- CodeSnippet
img1 = capture(268,187,738,510)
# img1 is already an image file on temp (check with print img1)
# just move it where you want:
import shutil
shutil.move(img1, "\\\\192.168.2.21\\SharedFolder\\Aravind\\presenterPic.png")

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