← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262990]: Find a match within the left half of a screen

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
leftHalf = Region(getRect()) # gets the whole screen as Region
leftHalf.w = int(leftHalf.w/2) # reduces the width to half

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