Read region value and return
Hello,
Hope i can get an answer here.
I have a region where the count increases dynamically.
so i would like perform some actions based on the count,eg.if my region.value > 0 perform some print.However i see the below error.
[error] script [ testoutlook ] stopped with error in line 82
[error] AttributeError ( 'Region' object has no attribute 'count' )
[error] --- Traceback --- error source first
line: module ( function ) statement
65: main ( blotter ) if reg.count > 0:
70: main ( itrachistory ) blotter()
71: main ( itrac ) itrachistory()
81: main ( main ) itrac()
82: main ( <module> ) main()
[error] --- Traceback --- end --------------
Code is
def blotter():
reg = Region(
if reg.count > 0:
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 muni for more information if necessary.