nvda
5bfc408b - Add an unassigned command to toggle periodical refresh of the Windows OCR result (#17740)

Commit
1 year ago
Add an unassigned command to toggle periodical refresh of the Windows OCR result (#17740) Discussed in #15331 (review) and following Summary of the issue: Most options in the UI have an associated toggle script (assigned or unassigned). In Windows OCR settings, "Periodically refresh recognized content" has no such toggle script. Description of user facing changes An unassigned command has been added to toggle the value of "Periodically refresh recognized content". In an OCR result, using this script takes immediately effect. Description of development approach Use the toggle helper fonction defined for global commands. If the final state is enabled, schedule a new recognition If the final state is disabled, nothing more needs to be done, the next recognition will not schedule subsequent ones.
Author
Parents
Loading