Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread RaiMan
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 RaiMan posted a new comment: fully agreed see: bug 1818514 watch the achievements there and optionally add ideas and/or comments -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Rainer posted a new comment: Thanks, Raiman, for your explanation. Avoiding with: blocks altogether is easily doable. They are just a quite "pythonic" shortcut, and I like to use them when they come handy.

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Answered => Solved Rainer confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread RaiMan
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Open => Answered RaiMan proposed the following answer: I am sorry for the confusion. After looking again into the code, I had to realize, that the support for with (__entry__, __exit__) is

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-04 Thread Rainer
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Solved => Open Rainer is still having a problem: Not a problem. I just was not aware of this behavior, because the SCREEN object is described everywhere as "constant". I noticed an unexpected

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-01 Thread RaiMan
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Status: Open => Solved RaiMan changed the question status: The reason behind is the historical implementation of undotted Region methods: - in the normal script they are dynamically (at runtime) bound

Re: [Sikuli-driver] [Question #678874]: Python: with someRegion: inside with block someRegion gets what SCREEN is outside

2019-03-01 Thread RaiMan
Question #678874 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678874 Summary changed to: Python: with someRegion: inside with block someRegion gets what SCREEN is outside -- You received this question notification because your team Sikuli Drivers is an answer contact for