dragonfly-scripts
dragonfly-scripts copied to clipboard
Use SCText for window controls
I added "HipChat" to my vocabulary in Dragon. When I tried to use dragonfly-scripts's windows controls I discovered that it suffers from the same problem that the formatting functions used to. For example, I would get the following error message:
action.exec: Execution failed: Failed to find window (title='HipChat\\').
I think using SCText here might solve the problem.
Are you're talking about the _winctrl.py module? If so, I don't really use that myself. I brought it in at some point to learn how use it, but I never really got the hang of it. I think it's still completely unmodified. Out of curiosity, what commands do you use in that module?
That is the module I'm talking about. I don't actively use it. I just decided to try to learn more commands yesterday so I started investigating it and came across that problem.
I tried to reproduce the problem, but it's not happening. The code feels unnecessarily complex and hard to follow, but it looks like it's the WinSelectorRule class or get_default_window method where the window name has to be filtered.