-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow script users to tie actions to current events #5
Comments
I don't quite follow. Do you mind elaborating a bit? On 11/22/2016 1:07 PM, Brandon wrote:
Websites: email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu |
It would go in the NVDA preferences dialogue where the line length setting currently is. There would be an add button, modify button and delete button. in the add dialogue there would be an event like: Then there would be a list of NVDA actions to happen after the Notepad++ action like: One can then chain NVDA actions together, putting several actions for one Notepad++ event. |
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 <notifications@github.com>:
… 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
<#5 (comment)>,
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 ***@***.***>:
> 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
>
<#5 (comment)>,
> or mute the thread
>
<https://github.com/notifications/unsubscribe-auth/AAhA1RlBFlE-PCjqdPQznMs580jFyMjWks5rA2SIgaJpZM4K54oD>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
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 derek.riemer@colorado.edu <mailto:derek.riemer@colorado.edu>
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. |
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:
Thanks,
The text was updated successfully, but these errors were encountered: