sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34205
Re: [Question #260954]: Grouping for 1.10? Unclear how to use 'use(aRegionOrAScreen)' or 'with'
Question #260954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/260954
RaiMan posted a new comment:
@Sudden Imphead
Thanks. I fully agree.
- 'use' will not be an official feature in 1.1.0 (so it should not be in
the docs, only doc'ed in the code)
- the problem with 'with' from the beginning of Sikuli was the fact,
that Region objects on the Jython script level are based on different
classes than on the Java API level. But all Region methods are
implemented on the Java level. So it is still not guaranteed, to get a
with-aware Region object in all possible evaluation contexts.
I will remove the deprecated-hint, since version 2 will surely support the with-statement completely.
The use feature is more intended, to restrict the use of undotted method calls to one screen in a multi monitor environment or to redirect the calls to a remote monitor.
As such it will be available as standard feature in version 2.
I will revise the docs accordingly.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.