Question #246133 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246133
Status: Answered => Open
Atul Desai is still having a problem:
Hi I made slight modification in code as I want to search a an object in that
specific region which is as follows, but the script is failing at line 8 and
raise error stating "[error] script [ regiontest ] stopped with error in line 8
[error] AttributeError ( 'int' object has no attribute 'right' )"
from sikuli import *
activityRegion = Region(225,489,191,370)
activity = "1395933560122.png"
# ScreenRegion s = new DesktopScreenRegion();
#ScreenRegion ActivityNametext = s.find(new ImageTarget(new File("activity"));
#ScreenRegion right =
Relative.to(ActivityNametext).right(150).getScreenRegion();
activityNametext = hover(activityRegion.find(activity));
right = activityNametext.right(500)
activityNametext.highlight(1)
right.highlight(1)
--
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