Date   

Re: FW: [program-l] NVDA add-on development questions

Javi Domínguez
 

Hello, Adil.

I think that's a typical beginner mistake. You've done:

editBox = api.getFocusObject ()

and you thin that editBox it is the authentic, original object, that of the applicationn but no, editBox is a virtual object created by NVDA with the attributes that it has been able to extract from the application object.

All NVDAObjects are reflections of the original objects, you can't act on the object of the application modifying the NVDA objects.

If you do:

editBox.value = "some text

you make the user see "some text", but the edit box in the screen, the reflected object, the source, I don't know how to say it, doesn't change.

So you have to call the operating system through the winUser module, as James has explained to you.

This is what I think but there are people here who know much more than I do. Correct me if I'm wrong, please.

Greetings

Javi Dominguez


El 15/05/2020 a las 20:44, Adil Shaikh escribió:
thanks to everyone who answered my query. 
I got that part of the add-on working. now, I am trying to add the selected text to a third party application.  initially, I  was considering to use clipboard to pass the selected text to third party application by just using simple copy and paste. but it doesn't feel quite right to me as it messes up with the clipboard content.  
I've already tried this code:
editBox = api.getFocusObject ()
editBox.value = "some text
it's not working. 

thanks josephly for forwarding my post to this mailing list. 



Re: Request for comments: an outline of a complete course on NVDA internals and code contributions

 

Hi,

The course is done – the only thing to be done is publish the course archive. This will take time, as the archive needs to be updated to talk about Python 3 (the course took place at a time when Python 2 was still supported, and many things have changed since then).

As for me hosting another course, highly unlikely for a while unless there is overwhelming need from the NVDA community. Also, the focus might shift – the thing I’m desperate to teach is teaching others to teach NVDA internals, or in the context of this list, talking about how to teach more people how to think as an add-on author and reviewer (my time on the NVDA world is slowly coming to a close).

Cheers,

Joseph

 

From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Adil Shaikh
Sent: Sunday, May 17, 2020 12:37 PM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] Request for comments: an outline of a complete course on NVDA internals and code contributions

 

[Edited Message Follows]



 Hi, I'm new to the list and I've been looking for resource to understand how NVDA works internally and I land on this post.  
I would  like to ask, is there any update on this course?
is course content being developed?
I truely want to learn and give back to community, but my current skills don't allow me to do that as I have little understanding of windows api, com objects and stuff like that. even, I wouldn't mind donating a bit if I have to.


Re: Request for comments: an outline of a complete course on NVDA internals and code contributions

Venkatesh Potluri
 

A course on NVDA is very interesting. Is this effort being actively worked on, and is there a different list where these discussions are taking place? I would be interested in this both as a student, and to understand feasibility of NVDA as a platform to teach accessibility.

Please excuse the brevity as this message was dictated or touch-typed on my phone.
Best regards,
Venkatesh Potluri
https://venkateshpotluri.me

On May 17, 2020, at 12:39 PM, Adil Shaikh <ah.shaikh97@...> wrote:



[Edited Message Follows]



 Hi, I'm new to the list and I've been looking for resource to understand how NVDA works internally and I land on this post.  
I would  like to ask, is there any update on this course?
is course content being developed?
I truely want to learn and give back to community, but my current skills don't allow me to do that as I have little understanding of windows api, com objects and stuff like that. even, I wouldn't mind donating a bit if I have to.


Re: FW: [program-l] NVDA add-on development questions

Adil Shaikh
 

thanks!
it works like a charm.


Re: Request for comments: an outline of a complete course on NVDA internals and code contributions

Adil Shaikh
 
Edited



 Hi, I'm new to the list and I've been looking for resource to understand how NVDA works internally and I land on this post.  
I would  like to ask, is there any update on this course?
is course content being developed?
I truely want to learn and give back to community, but my current skills don't allow me to do that as I have little understanding of windows api, com objects and stuff like that. even, I wouldn't mind donating a bit if I have to.


Re: Questions: Changing shortcuts with NVDA on app

Ibrahim Hamadeh
 

Hi
may be if you provide the piece of the log when the script is executed, may be that will help to figure the issue better.
try to change the logging level to debug, then press the gesture of your script, then open log viewer with NVDA+f1, then up arrow to piece of log where the script is executed, copy that piece of the log and paste it in the message.
regards.

On 5/17/2020 12:42 PM, Sean wrote:

Hi all,

None of these options work.

There is nothing on the screen of the app I use.
So a menu, button, etc.

I want to be able to use this in a game. Mortal kombat.

NVDA cannot send shortcut.
I also tried the script that Ibrahim sent. Nothing.

On 14/05/2020 10:11, Cyrille via groups.io wrote:

Hello

An other option is to modify your gestures.ini file:

In the [globalCommands.GlobalCommands] section, add the following line:

kb:control+d=kb:control+p

You can also add it in another section if you want your gesture to be operating only in a specific class of object.


A limitation however for this solution as well as for the other solutions presented on this list is that all the modifiers from the input gesture (right-hand side) should also belong to the output gesture (left-hand side).

For example, in Notepad (French), you can use alt+E to open the Edit menu. However, you cannot remap control+G to alt+E this way:

kb:alt+e = kb:control+g

Indeed, when NVDA emulates alt+E gesture, the control key is also pressed and thus, a control+alt+E will be issued instead. We can check it because the Edit menu was not activated and the € (euro) sign has been typed instead.

Cheers,

Cyrille



Cheers,


Cyrille

Le 14/05/2020 à 08:21, Sean a écrit :
Thanks Ibrahim . 

Sean

I'm student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English. 


Ibrahim Hamadeh <ibra.hamadeh@...> şunları yazdı (14 May 2020 04:20):

 hi
try this way , I tested it and it worked for me
to replace control+p gesture with control+d:
from keyboardHandler import KeyboardInputGesture
import inputCore
import globalPluginHandler

class GlobalPlugin(globalPluginHandler.GlobalPlugin):

    def script_test1(self, gesture):
        ges= KeyboardInputGesture.fromName('control+p')
        inputCore.manager.emulateGesture(ges)
    __gestures= {
    'kb:control+d': 'test1',
    }
regards.
On 5/13/2020 10:29 AM, Sean wrote:

Hi James ,

Thank you so much for your help.

However, I wrote a script like this and couldn't run it.
No errors are returned.
NVDA detect appModule. But it doesn't work.

I don't know Sticky.
I will use this little thing for my own problem. I will not publish Addon.

The link is here:
https://paste.ubuntu.com/p/g6b36jvnbt/

On 13/05/2020 06:33, James Scholes wrote:
As somebody else suggested, sticky keys is an option.  But you can also simply create an app module which binds Control plus P to an NVDA script, and then have that script just send the Control plus D gesture. Something like: keyboardHandler.KeyboardInputGesture.fromName('control+d').send()

Regards,

James Scholes

On 12/05/2020 at 9:45 pm, Sean wrote:
Hi all,

Some apps have very different combinations of shortcuts.
I find it difficult to open my fingers long because of the problem on my wrist.

Can I change an application's shortcuts by writing appModule with NVDA?
Sample :
I want to assign ctrl+p to ctrl+d.
Which modules should I use?
Thank you so much?


    Sean

  * Twitter: Friedrich Sargon <https://twitter.com/FriedrichSargon>
  * Email: seantolstoyevski@...
    <mailto:seantolstoyevski@...>
  * GitHub: SeanTolstoyevski <https://github.com/SeanTolstoyevski/>

I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.





--

Sean

I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.


--

Sean

I’m student and programmer. I write often Python, sometimes Go and rarely C++.
I can understand Turkish and English.



Re: Fail saving a namedtuple by Pickle

Noelia Ruiz
 

Thanks for clarification. :)

2020-05-17 19:10 GMT+02:00, Javi Domínguez <fjavids@...>:

Thank you.

I think that's the key. The first argument, the class name, must be the
same as the variable to which it is assigned the return of
collection.namedtuple.

ThisClassName = collections.namedtuple("ThisClassName", ...

Great, so it seems to work.

Greetings

Javi Dominguez


El 17/05/2020 a las 18:45, Noelia Ruiz escribió:
I am not sure but I'm curious too. Mesar started using namedtuple in
Emoticons add-on, coauthored by him (main author Chris).
Maybe a syntax error?

I don't have your repo, but maybe fixed using

NavKeys = collections.namedtuple('NavKeys', 'nextOption previousOption
nextItem previousItem')

https://pymotw.com/2/collections/namedtuple.html#

2020-05-17 17:32 GMT+02:00, Javi Domínguez <fjavids@...>:
Hello.

Does anyone know why this error occurs? Nothing happens, I easily fix it
by converting it to normal list before saving but i would like to
understand the cause of the failure.

NavKeys = collections.namedtuple("NavigationKeys", ("nextOption",
"previousOption", "nextItem", "previousItem"))
self.navKeys = NavKeys("kb:rightArrow", "kb:leftArrow",
"kb:downArrow", "kb:upArrow")
ERROR - unhandled exception (17:10:15.027) - MainThread (10756):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 623, in onOk
  File "gui\settingsDialogs.pyc", line 617, in _doSave
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 216, in onSave
    easyNavigationRing.save()
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 86, in save
    pickle.dump((ring, self.defaultActive, self.navKeys), f, 0)
_pickle.PicklingError: Can't pickle <class
'globalPlugins.easyNavigation.NavigationKeys'>: attribute lookup
NavigationKeys on globalPlugins.easyNavigation failed
Thanks

Javi Dominguez









Re: Fail saving a namedtuple by Pickle

Javi Domínguez
 

Thank you.

I think that's the key. The first argument, the class name, must be the same as the variable to which it is assigned the return of collection.namedtuple.

ThisClassName = collections.namedtuple("ThisClassName", ...

Great, so it seems to work.

Greetings

Javi Dominguez

El 17/05/2020 a las 18:45, Noelia Ruiz escribió:
I am not sure but I'm curious too. Mesar started using namedtuple in
Emoticons add-on, coauthored by him (main author Chris).
Maybe a syntax error?

I don't have your repo, but maybe fixed using

NavKeys = collections.namedtuple('NavKeys', 'nextOption previousOption
nextItem previousItem')

https://pymotw.com/2/collections/namedtuple.html#

2020-05-17 17:32 GMT+02:00, Javi Domínguez <fjavids@...>:
Hello.

Does anyone know why this error occurs? Nothing happens, I easily fix it
by converting it to normal list before saving but i would like to
understand the cause of the failure.

NavKeys = collections.namedtuple("NavigationKeys", ("nextOption",
"previousOption", "nextItem", "previousItem"))
self.navKeys = NavKeys("kb:rightArrow", "kb:leftArrow",
"kb:downArrow", "kb:upArrow")
ERROR - unhandled exception (17:10:15.027) - MainThread (10756):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 623, in onOk
  File "gui\settingsDialogs.pyc", line 617, in _doSave
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 216, in onSave
    easyNavigationRing.save()
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 86, in save
    pickle.dump((ring, self.defaultActive, self.navKeys), f, 0)
_pickle.PicklingError: Can't pickle <class
'globalPlugins.easyNavigation.NavigationKeys'>: attribute lookup
NavigationKeys on globalPlugins.easyNavigation failed
Thanks

Javi Dominguez






Re: Fail saving a namedtuple by Pickle

Noelia Ruiz
 

I am not sure but I'm curious too. Mesar started using namedtuple in
Emoticons add-on, coauthored by him (main author Chris).
Maybe a syntax error?

I don't have your repo, but maybe fixed using

NavKeys = collections.namedtuple('NavKeys', 'nextOption previousOption
nextItem previousItem')

https://pymotw.com/2/collections/namedtuple.html#

2020-05-17 17:32 GMT+02:00, Javi Domínguez <fjavids@...>:

Hello.

Does anyone know why this error occurs? Nothing happens, I easily fix it
by converting it to normal list before saving but i would like to
understand the cause of the failure.

NavKeys = collections.namedtuple("NavigationKeys", ("nextOption",
"previousOption", "nextItem", "previousItem"))
self.navKeys = NavKeys("kb:rightArrow", "kb:leftArrow",
"kb:downArrow", "kb:upArrow")
ERROR - unhandled exception (17:10:15.027) - MainThread (10756):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 623, in onOk
  File "gui\settingsDialogs.pyc", line 617, in _doSave
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 216, in onSave
    easyNavigationRing.save()
  File
"C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py",

line 86, in save
    pickle.dump((ring, self.defaultActive, self.navKeys), f, 0)
_pickle.PicklingError: Can't pickle <class
'globalPlugins.easyNavigation.NavigationKeys'>: attribute lookup
NavigationKeys on globalPlugins.easyNavigation failed
Thanks

Javi Dominguez






Fail saving a namedtuple by Pickle

Javi Domínguez
 

Hello.

Does anyone know why this error occurs? Nothing happens, I easily fix it by converting it to normal list before saving but i would like to understand the cause of the failure.

NavKeys = collections.namedtuple("NavigationKeys", ("nextOption", "previousOption", "nextItem", "previousItem"))
self.navKeys = NavKeys("kb:rightArrow", "kb:leftArrow", "kb:downArrow", "kb:upArrow")
ERROR - unhandled exception (17:10:15.027) - MainThread (10756):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 623, in onOk
  File "gui\settingsDialogs.pyc", line 617, in _doSave
  File "C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 216, in onSave
    easyNavigationRing.save()
  File "C:\Users\Javichi\AppData\Roaming\nvda\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 86, in save
    pickle.dump((ring, self.defaultActive, self.navKeys), f, 0)
_pickle.PicklingError: Can't pickle <class 'globalPlugins.easyNavigation.NavigationKeys'>: attribute lookup NavigationKeys on globalPlugins.easyNavigation failed
Thanks

Javi Dominguez


Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation #update

Javi Domínguez
 

Hello.

I'm going to incorporate Roi's idea of ​​using WA SD keys for left handed. I will also put the possibility of turning the arrows as you say. More variations I think are not necessary.

Greetings

Javi Dominguez


El 17/05/2020 a las 7:50, Cagri Dogan escribió:

Hi Javi,

Thanks a lot for your work. One small request from Turkish community. Asking if it is possible to make modifications for the user to be able to set different keys in easy navigation mode? For instance,, in stead of left and right arrow keys, they want to be able to set up and down arrow keys for choosing navigation unit. In fact, if you ask me, why can't this setting be done for other keys too?

All the best, Çağrı D.

 

 

From: Javi DomínguezSent: 16 Mayıs 2020 Cumartesi 14:17
To: nvda-addons@nvda-addons.groups.io
Subject: Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation

 

What i promised. Here it is:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200516/easyNavigation-dev20200516.nvda-addon

Greetings

Javi Dominguez

El 16/05/2020 a las 0:33, Javi Domínguez escribió:

Hello.

It is true. I think I know the reason but now it's too late to upload a release to Github. I'll do it tomorrow. try yourself if you want:

change the line 69


        for item in self.ring[1:]:


for


        for item in self.ring[1:]:


The first item in the list, lines, I don't want it to be disabled. I was trying to indicate it as marked but I had already removed it before from the list of markable items in the initialization of the control. 2020.1 supports it but I guess they have improved CustomCheckListBox to handle that and now alpha doesn't allow it.

#7491

Greetings

Javi

El 15/05/2020 a las 23:24, Ângelo Abrantes escribió:


After being translated, the add-on still does not allow me to make the settings.


Here's the log:

"ERROR - unhandled exception (22:19:34.140) - MainThread (6524):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 3630, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 607, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 589, in _doCategoryChange
  File "gui\settingsDialogs.pyc", line 510, in _getCategoryPanel
  File "gui\settingsDialogs.pyc", line 285, in __init__
  File "gui\settingsDialogs.pyc", line 295, in _buildGui
  File "C:\programas_portateis\NVDA Alfa 3\userConfig\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 201, in makeSettings
self.ringCheckListBox.SetCheckedStrings(easyNavigationRing.getEnabledItems())
  File "wx\core.pyc", line 2544, in _CheckListBox_SetCheckedStrings
AssertionError: String ('Linhas') not found
"


Ângelo Abrantes


Às 21:29 de 15-05-2020, Javi Domínguez escreveu:

Hello.

I've fixed a bug that caused the settings not to be saved correctly when a translated addon was running.

https://github.com/javidominguez/easyNavigation/releases/download/dev20200515/easyNavigation-dev20200515.nvda-addon

Greetings

Javi Dominguez


El 13/05/2020 a las 22:13, Javi Domínguez via groups.io escribió:

Hello all.

I just released a new addon on Github.

https://github.com/javidominguez/easyNavigation/

This is the direct download link:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200513/easyNavigation-dev20200513.nvda-addon

This addon substitute single key commands for arrow keys to navegate through headings, links, etc. so that you can do everything with one hand more comfortably and efficiently. It's specially designed for facilitates navigation through the elements of a document for people with mobility difficulties but it can also be useful for everyone.

The use is very easy.

* Activate and deactivate  easyNavigation mode by pressing shift + backspace (this gesture can be customized in NVDA preferences).

* With easyNavigation mode activated use the left and right arrows to select the type of item and up and down arrows to move to the previous and next item of the selected type.

* Customize it in NVDA preferences> Options> easyNavigation. There you can indicate that it is always activated by default and also select the items you want in the options ring

I would like you to give it a try and if you consider appropriate posting it on the site, do  a review.
Greetings

Javi Dominguez








 

 

 



Re: Translation of the addon description in manifest

José Manuel Delicado Alcolea
 

Hi Javi.

Scons generates translated manifest.ini files translating the strings from buildVars.py. To do so, the translated strings must be in the locale/XX/LC_MESSAGES/nvda.po file. You can run scons pot to generate a template, and send it to your translators. Once you receive the resulting po file, place it in the corresponding language folder and run scons. The translated manifests will be generated for your add-on.

Regards.


El 17/05/2020 a las 12:22, Javi Domínguez escribió:
Hello all.

What do I need to do to translate the addon description correctly in the manifest? Some translators have sent me a manifest.ini file with sumary and description translated into their language. I put it in locale / XX but when I package the addon with scons an english manifest.ini is generated, from buildvars.py, which crushes the translated one. What am I doing wrong?

Thanks.

Javi Dominguez





--

José Manuel Delicado Alcolea
Administrador y editor en la web nvda.es
Twitter: @nvda_es
Certificado en el programa NVDA Expert 2019

Logo NVDA Certified Expert


Translation of the addon description in manifest

Javi Domínguez
 

Hello all.

What do I need to do to translate the addon description correctly in the manifest? Some translators have sent me a manifest.ini file with sumary and description translated into their language. I put it in locale / XX but when I package the addon with scons an english manifest.ini is generated, from buildvars.py, which crushes the translated one. What am I doing wrong?

Thanks.

Javi Dominguez


Re: Questions: Changing shortcuts with NVDA on app

Sean
 

Hi all,

None of these options work.

There is nothing on the screen of the app I use.
So a menu, button, etc.

I want to be able to use this in a game. Mortal kombat.

NVDA cannot send shortcut.
I also tried the script that Ibrahim sent. Nothing.

On 14/05/2020 10:11, Cyrille via groups.io wrote:

Hello

An other option is to modify your gestures.ini file:

In the [globalCommands.GlobalCommands] section, add the following line:

kb:control+d=kb:control+p

You can also add it in another section if you want your gesture to be operating only in a specific class of object.


A limitation however for this solution as well as for the other solutions presented on this list is that all the modifiers from the input gesture (right-hand side) should also belong to the output gesture (left-hand side).

For example, in Notepad (French), you can use alt+E to open the Edit menu. However, you cannot remap control+G to alt+E this way:

kb:alt+e = kb:control+g

Indeed, when NVDA emulates alt+E gesture, the control key is also pressed and thus, a control+alt+E will be issued instead. We can check it because the Edit menu was not activated and the € (euro) sign has been typed instead.

Cheers,

Cyrille



Cheers,


Cyrille

Le 14/05/2020 à 08:21, Sean a écrit :
Thanks Ibrahim . 

Sean

I'm student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English. 


Ibrahim Hamadeh <ibra.hamadeh@...> şunları yazdı (14 May 2020 04:20):

 hi
try this way , I tested it and it worked for me
to replace control+p gesture with control+d:
from keyboardHandler import KeyboardInputGesture
import inputCore
import globalPluginHandler

class GlobalPlugin(globalPluginHandler.GlobalPlugin):

    def script_test1(self, gesture):
        ges= KeyboardInputGesture.fromName('control+p')
        inputCore.manager.emulateGesture(ges)
    __gestures= {
    'kb:control+d': 'test1',
    }
regards.
On 5/13/2020 10:29 AM, Sean wrote:

Hi James ,

Thank you so much for your help.

However, I wrote a script like this and couldn't run it.
No errors are returned.
NVDA detect appModule. But it doesn't work.

I don't know Sticky.
I will use this little thing for my own problem. I will not publish Addon.

The link is here:
https://paste.ubuntu.com/p/g6b36jvnbt/

On 13/05/2020 06:33, James Scholes wrote:
As somebody else suggested, sticky keys is an option.  But you can also simply create an app module which binds Control plus P to an NVDA script, and then have that script just send the Control plus D gesture. Something like: keyboardHandler.KeyboardInputGesture.fromName('control+d').send()

Regards,

James Scholes

On 12/05/2020 at 9:45 pm, Sean wrote:
Hi all,

Some apps have very different combinations of shortcuts.
I find it difficult to open my fingers long because of the problem on my wrist.

Can I change an application's shortcuts by writing appModule with NVDA?
Sample :
I want to assign ctrl+p to ctrl+d.
Which modules should I use?
Thank you so much?


    Sean

  * Twitter: Friedrich Sargon <https://twitter.com/FriedrichSargon>
  * Email: seantolstoyevski@...
    <mailto:seantolstoyevski@...>
  * GitHub: SeanTolstoyevski <https://github.com/SeanTolstoyevski/>

I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.





--

Sean

I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.


--

Sean

I’m student and programmer. I write often Python, sometimes Go and rarely C++.
I can understand Turkish and English.


Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation #update

Cagri Dogan
 

Hi Javi,

Thanks a lot for your work. One small request from Turkish community. Asking if it is possible to make modifications for the user to be able to set different keys in easy navigation mode? For instance,, in stead of left and right arrow keys, they want to be able to set up and down arrow keys for choosing navigation unit. In fact, if you ask me, why can't this setting be done for other keys too?

All the best, Çağrı D.

 

 

From: Javi DomínguezSent: 16 Mayıs 2020 Cumartesi 14:17
To: nvda-addons@nvda-addons.groups.io
Subject: Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation

 

What i promised. Here it is:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200516/easyNavigation-dev20200516.nvda-addon

Greetings

Javi Dominguez

El 16/05/2020 a las 0:33, Javi Domínguez escribió:

Hello.

It is true. I think I know the reason but now it's too late to upload a release to Github. I'll do it tomorrow. try yourself if you want:

change the line 69


        for item in self.ring[1:]:


for


        for item in self.ring[1:]:


The first item in the list, lines, I don't want it to be disabled. I was trying to indicate it as marked but I had already removed it before from the list of markable items in the initialization of the control. 2020.1 supports it but I guess they have improved CustomCheckListBox to handle that and now alpha doesn't allow it.

#7491

Greetings

Javi

El 15/05/2020 a las 23:24, Ângelo Abrantes escribió:


After being translated, the add-on still does not allow me to make the settings.


Here's the log:

"ERROR - unhandled exception (22:19:34.140) - MainThread (6524):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 3630, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 607, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 589, in _doCategoryChange
  File "gui\settingsDialogs.pyc", line 510, in _getCategoryPanel
  File "gui\settingsDialogs.pyc", line 285, in __init__
  File "gui\settingsDialogs.pyc", line 295, in _buildGui
  File "C:\programas_portateis\NVDA Alfa 3\userConfig\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 201, in makeSettings
self.ringCheckListBox.SetCheckedStrings(easyNavigationRing.getEnabledItems())
  File "wx\core.pyc", line 2544, in _CheckListBox_SetCheckedStrings
AssertionError: String ('Linhas') not found
"


Ângelo Abrantes


Às 21:29 de 15-05-2020, Javi Domínguez escreveu:

Hello.

I've fixed a bug that caused the settings not to be saved correctly when a translated addon was running.

https://github.com/javidominguez/easyNavigation/releases/download/dev20200515/easyNavigation-dev20200515.nvda-addon

Greetings

Javi Dominguez


El 13/05/2020 a las 22:13, Javi Domínguez via groups.io escribió:

Hello all.

I just released a new addon on Github.

https://github.com/javidominguez/easyNavigation/

This is the direct download link:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200513/easyNavigation-dev20200513.nvda-addon

This addon substitute single key commands for arrow keys to navegate through headings, links, etc. so that you can do everything with one hand more comfortably and efficiently. It's specially designed for facilitates navigation through the elements of a document for people with mobility difficulties but it can also be useful for everyone.

The use is very easy.

* Activate and deactivate  easyNavigation mode by pressing shift + backspace (this gesture can be customized in NVDA preferences).

* With easyNavigation mode activated use the left and right arrows to select the type of item and up and down arrows to move to the previous and next item of the selected type.

* Customize it in NVDA preferences> Options> easyNavigation. There you can indicate that it is always activated by default and also select the items you want in the options ring

I would like you to give it a try and if you consider appropriate posting it on the site, do  a review.
Greetings

Javi Dominguez








 

 

 


Joseph Lee's add-ons: release schedule for other 20.06 add-on releases #addonrelease

 

Hi all,

The following is the tentative release schedule for other 20.06 add-on releases besides Enhanced Touch Gestures:

  • May 18th: Control Usage Assistant, GoldWave, Resource Monitor
  • May 19th: Object Location Tones
  • May 20th: StationPlaylist
  • May 21st: Windows 10 App Essentials
  • May 22nd: Add-on Updater

 

In case reviewers would like to review the current add-on work (perhaps to be included in community add-ons repo):

https://github.com/josephsl/{repoName}

 

Where repo name can be:

  • Add-on Updater: addonupdater
  • Control Usage Assistant: controlusageassistant
  • Enhanced Touch Gestures: enhancedtouchgestures
  • GoldWave: goldwave
  • Object Location Tones: objlocationtones
  • Resource Monitor: resourcemonitor
  • StationPlaylist: stationplaylist
  • Windows 10 App Essentials: wintenapps

 

Cheers,

Joseph


Re: Enhanced Touch Gestures 20.06, last version to support NVDA 2019.3 #addonrelease

 

Hi,

For reviewers: feel free to see if the following master branch repo can be merged into community add-ons fork:

https://github.com/josephsl/enhancedtouchgestures

Note that for each add-on I maintain, the repo listed under my GitHub user name (josephsl) is the official authoritative version, not the one found under community add-ons repo. The community add-ons repo is used for making the repos in sync with each other at least once a year and to exchange localization data. For add-ons I have maintained in the past, the one under my user name should be forked, not the community add-ons repo, with the community add-ons repo pointing to the repo of the new maintainer.

Cheers,

Joseph

 

From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Joseph Lee via groups.io
Sent: Saturday, May 16, 2020 3:15 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] Enhanced Touch Gestures 20.06, last version to support NVDA 2019.3 #AddonRelease

 

Hi all,

 

Enhanced Touch Gestures 20.06 will be released tonight (Sunday morning in America). This release includes internal changes and makes the add-on compatible with NVDA 2020.1 and future versions. As always, you can grab it from community add-ons website or via Add-on Updater.

 

IMPORTANT: 20.06 will be the last version to support NVDA 2019.3. This is so that the add-on can be simplified. Specifically, NVDA 2020.1 includes a touch command to perform right mouse click (one finger tap and hold), which was a part of this add-on for years. Starting with a release scheduled for fall (spring in southern hemisphere), NVDA 2020.1 or later will be required so that this touch command can be removed from the add-on in favor of what NVDA provides.

 

Cheers,

Joseph


Enhanced Touch Gestures 20.06, last version to support NVDA 2019.3 #addonrelease

 

Hi all,

 

Enhanced Touch Gestures 20.06 will be released tonight (Sunday morning in America). This release includes internal changes and makes the add-on compatible with NVDA 2020.1 and future versions. As always, you can grab it from community add-ons website or via Add-on Updater.

 

IMPORTANT: 20.06 will be the last version to support NVDA 2019.3. This is so that the add-on can be simplified. Specifically, NVDA 2020.1 includes a touch command to perform right mouse click (one finger tap and hold), which was a part of this add-on for years. Starting with a release scheduled for fall (spring in southern hemisphere), NVDA 2020.1 or later will be required so that this touch command can be removed from the add-on in favor of what NVDA provides.

 

Cheers,

Joseph


Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation #update

Angela Delicata
 

This sounds really interesting: I am going to try it.

I take the chance to thank the whole NVDA community: what you do is very precious for all.

I do not write much because I am not an expert, but I use NVDA as my first and only screen reader!

Angela from Italy


Il 16/05/2020 19:55, Rui Fontes ha scritto:

Thanks!


Rui Fontes

NVDA portuguese team


Às 12:17 de 16/05/2020, Javi Domínguez escreveu:
What i promised. Here it is:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200516/easyNavigation-dev20200516.nvda-addon

Greetings

Javi Dominguez


El 16/05/2020 a las 0:33, Javi Domínguez escribió:
Hello.

It is true. I think I know the reason but now it's too late to upload a release to Github. I'll do it tomorrow. try yourself if you want:

change the line 69

        for item in self.ring[1:]:

for

        for item in self.ring[1:]:

The first item in the list, lines, I don't want it to be disabled. I was trying to indicate it as marked but I had already removed it before from the list of markable items in the initialization of the control. 2020.1 supports it but I guess they have improved CustomCheckListBox to handle that and now alpha doesn't allow it.

#7491

Greetings

Javi


El 15/05/2020 a las 23:24, Ângelo Abrantes escribió:

After being translated, the add-on still does not allow me to make the settings.


Here's the log:

"ERROR - unhandled exception (22:19:34.140) - MainThread (6524):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 3630, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 607, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 589, in _doCategoryChange
  File "gui\settingsDialogs.pyc", line 510, in _getCategoryPanel
  File "gui\settingsDialogs.pyc", line 285, in __init__
  File "gui\settingsDialogs.pyc", line 295, in _buildGui
  File "C:\programas_portateis\NVDA Alfa 3\userConfig\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 201, in makeSettings
self.ringCheckListBox.SetCheckedStrings(easyNavigationRing.getEnabledItems())
  File "wx\core.pyc", line 2544, in _CheckListBox_SetCheckedStrings
AssertionError: String ('Linhas') not found
"


Ângelo Abrantes


Às 21:29 de 15-05-2020, Javi Domínguez escreveu:
Hello.

I've fixed a bug that caused the settings not to be saved correctly when a translated addon was running.

https://github.com/javidominguez/easyNavigation/releases/download/dev20200515/easyNavigation-dev20200515.nvda-addon

Greetings

Javi Dominguez


El 13/05/2020 a las 22:13, Javi Domínguez via groups.io escribió:
Hello all.

I just released a new addon on Github.

https://github.com/javidominguez/easyNavigation/

This is the direct download link:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200513/easyNavigation-dev20200513.nvda-addon

This addon substitute single key commands for arrow keys to navegate through headings, links, etc. so that you can do everything with one hand more comfortably and efficiently. It's specially designed for facilitates navigation through the elements of a document for people with mobility difficulties but it can also be useful for everyone.

The use is very easy.

* Activate and deactivate  easyNavigation mode by pressing shift + backspace (this gesture can be customized in NVDA preferences).

* With easyNavigation mode activated use the left and right arrows to select the type of item and up and down arrows to move to the previous and next item of the selected type.

* Customize it in NVDA preferences> Options> easyNavigation. There you can indicate that it is always activated by default and also select the items you want in the options ring

I would like you to give it a try and if you consider appropriate posting it on the site, do  a review.
Greetings

Javi Dominguez













Re: Bug fixing #update Re: [nvda-addons] New addon Easy Navigation #update

Ângelo Abrantes
 

Hi,


The messages and documentation for pt_PT and pt_BR are already in the addon repository.


Greetings

Ângelo Abrantes


Às 18:55 de 16-05-2020, Rui Fontes escreveu:

Thanks!


Rui Fontes

NVDA portuguese team


Às 12:17 de 16/05/2020, Javi Domínguez escreveu:
What i promised. Here it is:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200516/easyNavigation-dev20200516.nvda-addon

Greetings

Javi Dominguez


El 16/05/2020 a las 0:33, Javi Domínguez escribió:
Hello.

It is true. I think I know the reason but now it's too late to upload a release to Github. I'll do it tomorrow. try yourself if you want:

change the line 69

        for item in self.ring[1:]:

for

        for item in self.ring[1:]:

The first item in the list, lines, I don't want it to be disabled. I was trying to indicate it as marked but I had already removed it before from the list of markable items in the initialization of the control. 2020.1 supports it but I guess they have improved CustomCheckListBox to handle that and now alpha doesn't allow it.

#7491

Greetings

Javi


El 15/05/2020 a las 23:24, Ângelo Abrantes escribió:

After being translated, the add-on still does not allow me to make the settings.


Here's the log:

"ERROR - unhandled exception (22:19:34.140) - MainThread (6524):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 3630, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 607, in onCategoryChange
  File "gui\settingsDialogs.pyc", line 589, in _doCategoryChange
  File "gui\settingsDialogs.pyc", line 510, in _getCategoryPanel
  File "gui\settingsDialogs.pyc", line 285, in __init__
  File "gui\settingsDialogs.pyc", line 295, in _buildGui
  File "C:\programas_portateis\NVDA Alfa 3\userConfig\addons\easyNavigation\globalPlugins\easyNavigation\__init__.py", line 201, in makeSettings
self.ringCheckListBox.SetCheckedStrings(easyNavigationRing.getEnabledItems())
  File "wx\core.pyc", line 2544, in _CheckListBox_SetCheckedStrings
AssertionError: String ('Linhas') not found
"


Ângelo Abrantes


Às 21:29 de 15-05-2020, Javi Domínguez escreveu:
Hello.

I've fixed a bug that caused the settings not to be saved correctly when a translated addon was running.

https://github.com/javidominguez/easyNavigation/releases/download/dev20200515/easyNavigation-dev20200515.nvda-addon

Greetings

Javi Dominguez


El 13/05/2020 a las 22:13, Javi Domínguez via groups.io escribió:
Hello all.

I just released a new addon on Github.

https://github.com/javidominguez/easyNavigation/

This is the direct download link:

https://github.com/javidominguez/easyNavigation/releases/download/dev20200513/easyNavigation-dev20200513.nvda-addon

This addon substitute single key commands for arrow keys to navegate through headings, links, etc. so that you can do everything with one hand more comfortably and efficiently. It's specially designed for facilitates navigation through the elements of a document for people with mobility difficulties but it can also be useful for everyone.

The use is very easy.

* Activate and deactivate  easyNavigation mode by pressing shift + backspace (this gesture can be customized in NVDA preferences).

* With easyNavigation mode activated use the left and right arrows to select the type of item and up and down arrows to move to the previous and next item of the selected type.

* Customize it in NVDA preferences> Options> easyNavigation. There you can indicate that it is always activated by default and also select the items you want in the options ring

I would like you to give it a try and if you consider appropriate posting it on the site, do  a review.
Greetings

Javi Dominguez












-- 
Cordiais Cumprimentos
Ângelo Abrantes, Equipa <Portuguesa do NVDA

Sem vírus. www.avast.com