Skip to content
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

Open
frastlin opened this issue Nov 22, 2016 · 6 comments
Open

Allow script users to tie actions to current events #5

frastlin opened this issue Nov 22, 2016 · 6 comments

Comments

@frastlin
Copy link

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:

  1. reading the events from Sentilla (This would make actions on events work no matter what keystroke is used)
  2. Happen after a specific keystroke like ctrl+d.

Thanks,

@frastlin
Copy link
Author

This would fix:
#4
and
#1

@derekriemer
Copy link
Owner

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:

  1. reading the events from Sentilla (This would make actions on
    events work no matter what keystroke is used)
  2. 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
#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 derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194

@frastlin
Copy link
Author

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?

@tuukkao
Copy link
Collaborator

tuukkao commented Dec 3, 2016 via email

@derekriemer
Copy link
Owner

derekriemer commented Dec 4, 2016 via email

@derekriemer
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants