Uia based console grabbing#7
Open
Danstiv wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In NVDA it is possible to use UIA to work in the console, but sometimes this causes problems.
However, when using UIA, Virtual Review can retrieve more text (probably all of it), which is usually very convenient.
In legacy mode, Virtual Review is only able to receive the text displayed on the screen, which makes no sense, because This text is already viewable.
This PR adds functionality that allows to use legacy implementation for consoles, and receive text using UIA.
This approach should not cause problems with UIA, and, at the same time, it allows to view all text outputted to the console.
In addition, addon settings have been added that allow to enable the implemented functionality, i.e. By default it is disabled and the add-on's behavior remains unchanged.