sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16209
[Bug 783427] Re: X-1.0rc2: with: not working with "Region-like" objects (rc3: only match object)
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => x1.0
** Tags added: fkt-region
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/783427
Title:
X-1.0rc2: with: not working with "Region-like" objects (rc3: only
match object)
Status in Sikuli:
In Progress
Bug description:
I thought this was already in the list, but could not find it.
Trying to use with: with a Match object or an App().window() brings
exception:
AttributeError: 'org.sikuli.script.Region' object has no attribute
'__exit__'
*** workaround: cast the objects to Region objects when using with:
with Region(the_failing_object):
pass # the actions
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/783427/+subscriptions
References