← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698832]: Regions MID_BIG and MID_THIRD do not work --- fixed 2.0.6 --- workaround

 

Question #698832 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698832

Summary changed to:
Regions MID_BIG and MID_THIRD do not work --- fixed 2.0.6 --- workaround

Description changed to:
------------------- workaround
use MIDDLE_BIG instead of MID_BIG
and MIDDLE  instead of MID_THIRD

... or use the 2-character shortcuts
----------------------------------------------------------------

link
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.getBottomLeft
MID_BIG (M2, C2) half of width / half of height centered
MID_THIRD (MM, CC) third of width / third of height centered
above go not work and throw error
acroBottomRight=get(Region.MID_THIRD)

error] script [ regions ] stopped with error in line 72
[error] AttributeError ( type object 'Region' has no attribute 'MID_THIRD' )
[error] --- Traceback --- error source first

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.