Feature Request: Per Region Settings.ObserveScanRate

Asked by Steve

Currently we can set the observer scan rate of all regions using Settings.ObserveScanRate.

In my script I have some elements I need to check several times a second and others once every 30 seconds or so in addition to the normal processing of the script.

If each region could have a unique ObserveScanRate, significant processor time could be saved.

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

This is available in the current latest build of version 1.1.0 (http://sikulix.com):

someRegion.setObserveScanRate(value)
someRegion.observe() # will take this value instead of the Settings value

same goes for
someRegion.setWaitScanRate(value)

Revision history for this message
Steve (evildeliverance) said :
#3

Thanks RaiMan, that solved my question.