Regions MID_BIG and MID_THIRD do not work --- fixed 2.0.6 --- workaround

Asked by Chetan

------------------- 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

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

thanks for reporting

Revision history for this message
Chetan (cshamdas) said :
#2

Thanks RaiMan, that solved my question.