Implemented Window Switch Manager#881
Implemented Window Switch Manager#881LexiconCode wants to merge 4 commits intodictation-toolbox:masterfrom
Conversation
This comment has been minimized.
This comment has been minimized.
8eb33a6 to
de5e030
Compare
4b97a8a to
6b3c50c
Compare
6b3c50c to
d6ff994
Compare
d6ff994 to
6955c9d
Compare
Returns window title of window title of caster messaging window
6955c9d to
9e2656c
Compare
|
I get this one every two seconds (likely due to the refresh): |
|
Thanks for testing this on Linux. is_valid is Win32Window property for Windows only. It appears every two seconds because it refreshes grabbing all the windows and checks Windows to make sure they're valid. The code should be able to be adjusted to check for OS in this case. |
|
@LexiconCode I think I must have missed this PR. It looks quite useful, even for Dragon users. Obviously you haven't worked on it in a while, but I would like to suggest updating the |
|
That's some great feedback, I really didn't like using an engine timer wasting cycles. |
|
Thanks! I'm not sure which grammar the rule is part of though. Also, the |
24ab020 to
88a91bd
Compare
Description
Window Switch Manager to swap windows by saying words in their title. In addition a command to restore the last minimized window.
Commands:
"""
Commands have been renamed
minimize winwindow minimizefollowing the object verb model.Related Issue
#797
Motivation and Context
Motivation is to make it easy for users to switch windows by voice.
How Has This Been Tested
This is been tested on Windows 10 but should be cross-platform. The list of Windows is rebuilt every 2 seconds using a dragonfly timer updating
open_windows_dictlistThis allows for weighted commands rather than parsing free dictation. Testing on other systems would be beneficial as seeing if there's any impact on performance.Types of changes
Checklist
Maintainer/Reviewer Checklist