Skip to content

Implement live text retrieval from focused window - #977

Closed
shailendra-codes wants to merge 1 commit into
dictation-toolbox:masterfrom
shailendra-codes:patch-1
Closed

shailendra-codes wants to merge 1 commit into
dictation-toolbox:masterfrom
shailendra-codes:patch-1

Conversation

@shailendra-codes

Copy link
Copy Markdown
Contributor

Added function to retrieve live text from the focused window using COM objects.

Title

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue or bug)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Renamed existing command phrases (we discourage this without a strong rationale).

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have checked that my code does not duplicate functionality elsewhere in Caster.
  • I have checked for and utilized existing command phrases from within Caster (delete if not applicable).
  • My code implements all the features I wish to merge in this pull request.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests pass.

Maintainer/Reviewer Checklist

  • Basic functionality has been tested and works as claimed.
  • New documentation is clear and complete.
  • Code is clear and readable.

Added function to retrieve live text from the focused window using COM objects.
@shailendra-codes

Copy link
Copy Markdown
Contributor Author

"This PR addresses issue #814 by using direct Windows UI Automation(via comtypes) to retrieve live text from the focused window, making it faster and independent.

@shailendra-codes

Copy link
Copy Markdown
Contributor Author

Hi maintainers , I have resolved the issue by using Window UI Automation to retrieve live text from the focused window cleanly. Could you please approve and run the pending workflow checks when you got a chance? Thank you!

@shailendra-codes shailendra-codes mentioned this pull request Sep 5, 2026
1 task done
@LexiconCode LexiconCode closed this Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants