text() is being temperamental
Hey there (using Sikuli r930 and Windows Vista 32 bit.)
I'm trying to determine the number of rows withing a table in Microsoft Word 2000.
I was originally:
right click the table
click table properties
click rows
take the text() of the rows using the following code.
click("
click("Column.png")
click("Row-1.png")
start = find("Rows1.png")
rows = start.right(
click("OK.png") or click("Cancel.png")
print rows
this was effective for some numbers, however for the numbers 13, 21 and 30; text() failed utterly.
even defining the region didn't work:
Region(
Is there any way to determine the total number of rows in this table?
Another method i experimented with was exists(image below end of table) and ending a loop but it would often fail.
Many thanks
Australia
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Nomis Carr for more information if necessary.