+ Support reading bottom line of the session by pressing INS+PageDown
This commit is contained in:
parent
8ab30ac7d8
commit
d97f632e5a
2 changed files with 15 additions and 4 deletions
|
@ -36,16 +36,18 @@ My script - based on Freedom's code - fixes this problem by adding the UIA suppo
|
|||
### Features
|
||||
|
||||
- Support UIA, make the terminal and ncurses apps usable
|
||||
- Fix UIA announcements to work with specified punctuation level and try to follow the line endings in the announcements to avoid the announcing of special chars with disabled punctuation level.
|
||||
- Fix UIA announcements to work with specified punctuation level and try to follow the line endings in the announcements to avoid the announcing of special chars with disabled punctuation level
|
||||
- Turn off the every screen item auto-read feature and read only the changed content
|
||||
- Prevent announcing unneccessary information (honour the keyboard echo setting)
|
||||
- Support the auto-completion feature
|
||||
- Support UIA only in Terminal (and let other events, E.G. volume changes to handle the default script)
|
||||
- Turn on (temporarily) and off the indentation echo feature in Terminal with JAWSKEy+Shift+i command. Supported in text editors (Nano, Vim) and command outputs (E.G. `kubectl ... -o yaml` or `argocd ... -o yaml`).
|
||||
|
||||
- Read the bottom line, as toolbar in other APPs, with INS+PageDown
|
||||
> Note: It works well if you use tmux or other APPs with sticky bottom line however it says nothing if you're in a simple Bash and press it. It announces the prompt or other text if the window fulfilled.
|
||||
|
||||
## Known issues and todo
|
||||
|
||||
- Try to detect prompt and turn it's announce off when navigating on the command history (up and down arrow).
|
||||
- Try to detect prompt and turn it's announce off when navigating on the command history (up and down arrow)
|
||||
- Ability to temporarily disable UIA for a while to avoid too large amount of text, E.G. using mtr or top, where content changing randomly
|
||||
- Saying bad characters when try to mark text in mark mode. Workaround is to mark only lines with CTRL+up-down arrow and press CTRL-SHIFT-c to copy. Do not mark single characters or partialy section of lines.
|
||||
- Saying bad characters when try to mark text in mark mode. Workaround is to mark only lines with CTRL+up-down arrow and press CTRL-SHIFT-c to copy. Do not mark single characters or partialy section of lines
|
||||
- Doubling characters in nano: when navigate with arrow keys, an annoying issue causes that sometimes characters, lines speaked duplicated. Currently no fix for this as if we disable UIA for arrow keys or the simple char or line read sometimes cause issues. To skip the problem be carefuly when navigating in editors.
|
|
@ -48,6 +48,15 @@ var string text = textRange.GetText(-1)
|
|||
return text
|
||||
EndFunction
|
||||
|
||||
script SayBottomLineOfWindow()
|
||||
var string text = GetTextInConsoleWindow()
|
||||
if text then
|
||||
var stringArray lines = StringSplit (text, "\n", false)
|
||||
var string LastLine = lines[ArrayLength (lines)]
|
||||
Say(LastLine,ot_user_requested_information)
|
||||
endIf
|
||||
EndScript
|
||||
|
||||
script VirtualizeWindow()
|
||||
var string text = StringTrimTrailingBlanks(GetTextInConsoleWindow())
|
||||
if !text then
|
||||
|
|
Loading…
Add table
Reference in a new issue