Re: [Sikuli-driver] [Question #695115]: I'm trying to getCell but having trouble

2021-01-20 Thread masuo
Question #695115 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695115

masuo proposed the following answer:
If you want to get text in the divided cell, try ocr feature.
https://sikulix-2014.readthedocs.io/en/latest/textandocr.html

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #695115]: I'm trying to getCell but having trouble

2021-01-20 Thread masuo
Question #695115 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/695115

Status: Open => Answered

masuo proposed the following answer:
A defined region by Region  feature is not visible.
It's the same as that.
Use highlight feature If you want to conferm divided row, col and cell.

[example]
r=Region(222,138,1080,395)
MAXROWS=3
MAXCOLUMNS=3

r.setRows(MAXROWS)
for row in range(MAXROWS):
r.getRow(row).highlight(1)

r.setCols(MAXCOLUMNS)
for col in range(MAXCOLUMNS):
r.getCol(col).highlight(1)   

r.setRaster(MAXROWS,MAXCOLUMNS)
for row in range(MAXROWS):
for col in range(MAXCOLUMNS):
r.getCell(row,col).highlight(1)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp