Re: Customize say all
Abdel
Hi Alberto,
toggle quoted message
Show quoted text
Here is a global plugin for the developer's scratchpad that should do the job you're asking for. When UIA is enabled in the settings for Word or Microsoft Edge, the method to extend for text is _getTextFromUIARange. In other situations, it's _getTextRange. With this example, sentences like "table of contents" should be replaced by "table contents". This type of practice is not highly recommended, as it changes NVDA's internal behavior when reading text. The module still has some imperfections, it works fine in Word when UIA is enabled, but I haven't yet added the lines to make it work when UIA is not enabled in Word only. Otherwise, in browsers it has been tested with Microsoft Edge with UIA enabled and disabled, Google Chrome and Firefox, not tested with Internet Explorer. It should also work in Mozilla Thunderbird, notepad and notepad++. Sometimes lines indicating that some unreachable objects have been deleted appear in the log. I haven't fully commented on it, but I think you should understand the different instructions well. Hope this helps. Kind regards, Abdel. Le 11/08/2022 à 11:24, Alberto Buffolino a écrit :
Il 11/08/2022 11.02, Abdel ha scritto:There are classes that inherit from the treeInterceptorHandler.TreeInterceptor class that add extra features.Alberto: |
|