← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694564]: Region methods getRow and getCol does not work

 

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

masuo posted a new comment:
I've also noticed before that getRow and getCol don't work with two arguments.
When I need them, I am using  setRaster.

[example]
r = Region(100,100,600,200)
r.highlight(1)
MAXROWS = 3
MAXCOLUMNS = 4
r.setRaster(MAXROWS,MAXCOLUMNS)
for row in range(0,MAXROWS):
    r.getRow(row).highlight(1)
    for col in range(0,MAXCOLUMNS):
        r.getCell(row,col).highlight(1)

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