nvda-notepadPlusPlus
nvda-notepadPlusPlus copied to clipboard
Allow script users to tie actions to current events
Hello, Would it be possible to allow users to tie actions like speak current line, speak next line and or speak last line to events that happen in Notepad++? This would allow the user to customize what NVDA says for any event. I could see this working two ways:
- reading the events from Sentilla (This would make actions on events work no matter what keystroke is used)
- Happen after a specific keystroke like ctrl+d.
Thanks,
This would fix: https://github.com/derekriemer/nvda-notepadPlusPlus/issues/4 and https://github.com/derekriemer/nvda-notepadPlusPlus/issues/1
I don't quite follow. Do you mind elaborating a bit?
On 11/22/2016 1:07 PM, Brandon wrote:
Hello, Would it be possible to allow users to tie actions like speak current line, speak next line and or speak last line to events that happen in Notepad++? This would allow the user to customize what NVDA says for any event. I could see this working two ways:
- reading the events from Sentilla (This would make actions on events work no matter what keystroke is used)
- Happen after a specific keystroke like ctrl+d.
Thanks,
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/derekriemer/nvda-notepadPlusPlus/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGivRvkLXjq915pCJYmsUydRC_wWCpSks5rA0twgaJpZM4K54oD.
Derek Riemer
- Department of computer science, third year undergraduate student.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Member of Bridge Cu
- Avid skiier.
Websites: Honors portfolio http://derekriemer.com Awesome little hand built weather app! http://django.derekriemer.com/weather/
email me at [email protected] mailto:[email protected] Phone: (303) 906-2194
It would go in the NVDA preferences dialogue where the line length setting currently is. Basically it would say something like: on delete line : speak current line on move to previous paragraph : speak current line On jump to matching brace : speak previous line, speak current line, speak next line
There would be an add button, modify button and delete button. in the add dialogue there would be an event like: on delete current line on exit document on move to top of file on move to bottom of file and all the events at: http://docs.notepad-plus-plus.org/index.php/Keyboard_And_Mouse_Shortcuts
Then there would be a list of NVDA actions to happen after the Notepad++ action like: speak current line speak next line speak previous line speak document title speak window title Speak custom message ...
One can then chain NVDA actions together, putting several actions for one Notepad++ event. Does that make more sense?
I'm not an expert on Scintilla, but I don't think it fires any events. Therefore the only way we can detect changes is either via hooking to keystrokes or analysing text changes.
2016-11-22 23:54 GMT+02:00 Brandon [email protected]:
It would go in the NVDA preferences dialogue where the line length setting currently is. Basically it would say something like: on delete line : speak current line on move to previous paragraph : speak current line On jump to matching brace : speak previous line, speak current line, speak next line
There would be an add button, modify button and delete button. in the add dialogue there would be an event like: on delete current line on exit document on move to top of file on move to bottom of file and all the events at: http://docs.notepad-plus-plus.org/index.php/Keyboard_And_Mouse_Shortcuts
Then there would be a list of NVDA actions to happen after the Notepad++ action like: speak current line speak next line speak previous line speak document title speak window title Speak custom message ...
One can then chain NVDA actions together, putting several actions for one Notepad++ event. Does that make more sense?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/derekriemer/nvda-notepadPlusPlus/issues/5#issuecomment-262377206, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhA1RlBFlE-PCjqdPQznMs580jFyMjWks5rA2SIgaJpZM4K54oD .
It might fire event_caret, I'm not sure.
On 12/3/2016 5:38 AM, Tuukka Ojala wrote:
I'm not an expert on Scintilla, but I don't think it fires any events. Therefore the only way we can detect changes is either via hooking to keystrokes or analysing text changes.
2016-11-22 23:54 GMT+02:00 Brandon [email protected]:
It would go in the NVDA preferences dialogue where the line length setting currently is. Basically it would say something like: on delete line : speak current line on move to previous paragraph : speak current line On jump to matching brace : speak previous line, speak current line, speak next line
There would be an add button, modify button and delete button. in the add dialogue there would be an event like: on delete current line on exit document on move to top of file on move to bottom of file and all the events at: http://docs.notepad-plus-plus.org/index.php/Keyboard_And_Mouse_Shortcuts
Then there would be a list of NVDA actions to happen after the Notepad++ action like: speak current line speak next line speak previous line speak document title speak window title Speak custom message ...
One can then chain NVDA actions together, putting several actions for one Notepad++ event. Does that make more sense?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub
https://github.com/derekriemer/nvda-notepadPlusPlus/issues/5#issuecomment-262377206,
or mute the thread
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/derekriemer/nvda-notepadPlusPlus/issues/5#issuecomment-264636966, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGivehgZiQdGePOM3ZAm4hAws6ugM2oks5rEWLXgaJpZM4K54oD.
--
Derek Riemer
- Department of computer science, third year undergraduate student.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Member of Bridge Cu
- Avid skiier.
Websites: Honors portfolio http://derekriemer.com Awesome little hand built weather app! http://django.derekriemer.com/weather/
email me at [email protected] mailto:[email protected] Phone: (303) 906-2194
Actually, this is the relm of a plugin. I think in order to receive events, we'd need to be able to be part of the wndProc of notepad++, and that can't be done from NVDA. We could communicate the data between the plugin and NVDA though. I don't have time to work on this at this moment, but if anyone wants to give it a stab, go ahead.