← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #157716]: Is class Match a subclass of class Region?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Principally, this is the fact: Match is a subclass of Region.

The implementation of with: still has problems with Match and
App.window() (it is a known bug)

workaround: cast Match to Region when you want to use with: with a Match
object:

m = Region(find(XXX))

Hope it will be fixed with X-1.0rc3.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.