add regions and return single region at runtime

Asked by Chetan

HI,
i want to divide the screen in say 3 rows and want to return as region that has 2 rows excluding the top row
we are using method getRow but it return only single row

need pointers on the same
thanks
Chetan

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

setRaster(3, 1)
r = getRow(1).union(getRow(2))
r.highlight(3)

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

Thanks RaiMan, that solved my question.

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

Awesome thanks Raiman