Date   

Re: MathCAT addon not showing up in addons.nvda-project.org/

neils
 

Noelia,

Thanks for responding, but I'm confused by your response. I'm not looking for translations of the addon page at the moment -- MathCAT's speech and braille rules are English only at the moment, so translating the addon page doesn't make much sense. Changing MathCAT's rules is beyond simple translation and requires knowledge of mathematics. I hope to get translations later after doing other work.

The welcome page (addons.nvda-project.org/index.en.html) says " If you want to have your add-on listed on this website, please create a pull request against the addonFiles repository. See the requirements for add-on submissions for details." That's what I did and after people pointed out some mistakes (thanks to everyone for finding them!), it was reviewed and accepted. I thought that would trigger the listing. The translation web pages all seem to assume there is a file to translate, but it isn't on addons.nvda-project.org/, so doesn't that mean there is nothing to translate (i.e., there is no https://addons.nvda-project.org/addons/mathcat.en.html to translate)? Or is all the work focused on https://nvda-addons.org. I do see MathCAT listed there, but the info there is not the readme.html page and is very minimal. What am I missing?

    Neil


On Tue, Jun 7, 2022 at 12:11 AM Noelia Ruiz via groups.io <nrm1977=gmail.com@groups.io> wrote:
Hi again Neils:

If you are the author maybe considering the name), let us know if you
need help to add the webpage for your add-on on the website.
I understand that this requires work, but it's also true if a
different person adds the documentation on behalf of authors.
I didn't realise that you may be the author due to similar names.
If so, you can request an invitation to join the translation team,
checkout the repo (if you want, you may add /website to the repo URL
to download just the website), and follow examples of files with
extension .mdwn. Rename your readme.md file to repoName.mdwn and look
at other .mdwn files to add a title and dev stable metatags.:
See this documentation:
https://github.com/nvaccess/nvda/wiki/Translating

Cheers



2022-06-07 2:46 GMT+02:00, neils <soiffer@...>:
> The PR for MathCAT was approved over a day ago, but I don't see it listed
> in https://addons.nvda-project.org/. In one of the many mistakes I made,
> the original addon was missing the README.html file. That has since been
> rectified by replacing the file pointed to in get.php with the one that has
> the README.html file (i.e., the get.php file is unchanged, it is the target
> of the link that changed).
>
> Is there something else that I missed in creating the addon?
>
> Thanks,
>
>     Neil
>
>
>
>
>
>






Re: How can I use Module speech recognition? #emergency #feed #newaddon #nvaccess #nvda

Javi Domínguez
 

Hello.


You just say it doesn't work but not what errors it gives you specifically. Without more information I can't tell you much.


My addon CommandHelper uses SpeechRecognition for voice commands, there you have an example of how to implement it.


https://github.com/javidominguez/commandHelper/


Greetings


Javi Dominguez



El 19/05/2022 a las 6:03, teeradach.o@... escribió:

Hi everyone I need some help
so i would like to dev NVDA Add-on about Speech to text and i use module Speech Recognition for get voice from the microphone and send to google API to translation to text and send back to client, I test it first I run by python not put module GlobalPlugin in this result is It does working but I put module GlobalPlugin in this my code and run by NVDA result is It doesn't work.
I check in NVDA Python Console It show Error "Module speech recognition not found".
so How can I use module speech recognition?
Please Help me I try to much for find way about to dev it.
Thank you so much.


Re: Getting color of an object

Alberto Buffolino
 

Lukasz Golonka via groups.io, il 8/6/2022, ha scritto:
NO, you're not missing anything here. The color of the list items cannot
be accessed programmatically using ways other than screen scraping so the
displaymodel is the only solution you can employ.
Alberto:
Hi Lukasz,
yes, I tried; my actual code is:
***
def script_reportOrShowFormattingAtCaret(self, gesture):
item = api.getFocusObject()
dmti = displayModel.DisplayModelTextInfo(item, textInfos.POSITION_ALL)
fgColor = dmti.foregroundSelectionColor.name
bgColor = dmti.backgroundSelectionColor.name
ui.message(_(f"{fgColor} over {bgColor}"))
script_reportOrShowFormattingAtCaret.canPropagate = True
***
but it returns always white over aquamarine blue (my translation), even while it should be black or light red over aquamarine blue (tested in eMule).
Maybe I must provide a RectLTRB to class constructor, but displayModel.getCaretRect and getFocusRect fail... I'll study further.
Alberto


Re: Getting color of an object

Lukasz Golonka
 

On Wed, 8 Jun 2022 15:10:21 +0200
"Alberto Buffolino" <a.buffolino@...> wrote:


There is something fundamental I'm missing, I suspect, but there is very few info on the web, and this is strange...
NO, you're not missing anything here. The color of the list items cannot
be accessed programmatically using ways other than screen scraping so the
displaymodel is the only solution you can employ.

--
HTH
Lukasz


Re: Getting color of an object

Alberto Buffolino
 

Noelia Ruiz, il 7/6/2022, ha scritto:
Share your results please.
Alberto:
Hi Noelia,
thanks for your suggestions. But nothing to do, unfortunately... at least about list items.
I have gone back into method calls, playing also with displayModel.DisplayModelTextInfo or directly with winUser.user32.GetSysColor, but without success. Invoking makeTextInfo("caret") raises NotImplemented error.
There is something fundamental I'm missing, I suspect, but there is very few info on the web, and this is strange...
I'm going to investigate on getting colors in the obj.location area, but it's a too indirect way for my tastes.
Alberto


Re: Getting color of an object

Noelia Ruiz
 

Hi Alberto:

Are you sure that it's possible to get thecolor of a text that is not
a single character?

I think you may see the following function in globalCommands.py:



def _reportFormattingHelper(self, info, browseable=False):

Then you can use info=focus.maketextInfo("caret") or
info=api.getReviewPosition() in the console.

Share your results please.

😄

2022-06-07 12:56 GMT+02:00, Alberto Buffolino <a.buffolino@...>:

Hi all,
I'm playing with NVDA console, for some future features/add-ons.
Do you know how to get the color (main and background) of an object?
I firstly trie dwith NVDA commands, NVDA+f and NVDA+shift+f with laptop
layout, but I noticed that sometimes they fail. Try for example with
desktop list items, you have to change exploration mode to review to get
any results.
In console, I tried with:
>>> t=focus.makeTextInfo(textInfos.POSITION_ALL)
>>> t.getFormatFieldSpeech({"reportColor": True})
but it returns [], even if using review instead of focus.
Any suggestions?
In addition, do you have any experience with any library to retrieve
colors and highlight/underline items on the screen?
Thanks...
Alberto






Getting color of an object

Alberto Buffolino
 

Hi all,
I'm playing with NVDA console, for some future features/add-ons.
Do you know how to get the color (main and background) of an object?
I firstly trie dwith NVDA commands, NVDA+f and NVDA+shift+f with laptop layout, but I noticed that sometimes they fail. Try for example with desktop list items, you have to change exploration mode to review to get any results.
In console, I tried with:
t=focus.makeTextInfo(textInfos.POSITION_ALL)
t.getFormatFieldSpeech({"reportColor": True})
but it returns [], even if using review instead of focus.
Any suggestions?
In addition, do you have any experience with any library to retrieve colors and highlight/underline items on the screen?
Thanks...
Alberto


Dual voice addon

Shaikh Imran
 

please someone tell me what will happen with dual voice addon it will get new update or not?


Re: MathCAT addon not showing up in addons.nvda-project.org/

Noelia Ruiz
 

Hi again Neils:

If you are the author maybe considering the name), let us know if you
need help to add the webpage for your add-on on the website.
I understand that this requires work, but it's also true if a
different person adds the documentation on behalf of authors.
I didn't realise that you may be the author due to similar names.
If so, you can request an invitation to join the translation team,
checkout the repo (if you want, you may add /website to the repo URL
to download just the website), and follow examples of files with
extension .mdwn. Rename your readme.md file to repoName.mdwn and look
at other .mdwn files to add a title and dev stable metatags.:
See this documentation:
https://github.com/nvaccess/nvda/wiki/Translating

Cheers



2022-06-07 2:46 GMT+02:00, neils <soiffer@...>:

The PR for MathCAT was approved over a day ago, but I don't see it listed
in https://addons.nvda-project.org/. In one of the many mistakes I made,
the original addon was missing the README.html file. That has since been
rectified by replacing the file pointed to in get.php with the one that has
the README.html file (i.e., the get.php file is unchanged, it is the target
of the link that changed).

Is there something else that I missed in creating the addon?

Thanks,

Neil






Re: NVDA NAO (NVDA Advanced OCR)

René Linke
 

Thank you, Cyrille.

Am 07.06.2022 um 08:51 schrieb Cyrille via groups.io:
Hello

I have asked authors to add this add-on in the official translation framework. This requires that the add-on be part of NVDA community website.
If many people ask it to the authors, maybe they will consider this request.

Cheers,

Cyrille




On Sun, Jun 5, 2022 at 12:45 PM, René Linke wrote:
https://nvda-nao.org/


--
Herzliche Grüße René


Re: NVDA NAO (NVDA Advanced OCR)

Cyrille
 

Hello

I have asked authors to add this add-on in the official translation framework. This requires that the add-on be part of NVDA community website.
If many people ask it to the authors, maybe they will consider this request.

Cheers,

Cyrille




On Sun, Jun 5, 2022 at 12:45 PM, René Linke wrote:
https://nvda-nao.org/


Re: MathCAT addon not showing up in addons.nvda-project.org/

Noelia Ruiz
 

Hello:
I"ve seen Joseph"s answer in a different message. Anyway >I had the intention to reply here.
Authors can add documentation of their add-ons so that they appear on the website, and update it, using the repo available for the NVDA translation team. You may contact the aokuthor of this addon in case this person want to take care of this. i cannot ensure that the website is being well maintained, not sure if the documentation is always updated or added on time, and I think that, unless authors do it themselves, or someone takes responsibility of looking all add-ons, this is not sustainable, so I don"t take care of this in a regular way. Imo it"s better that authors can take care since they know when to update it. Cheers
Enviado desde mi iPhone

El 7 jun 2022, a las 2:46, neils <soiffer@...> escribió:


The PR for MathCAT was approved over a day ago, but I don't see it listed in https://addons.nvda-project.org/. In one of the many mistakes I made, the original addon was missing the README.html file. That has since been rectified by replacing the file pointed to in get.php with the one that has the README.html file (i.e., the get.php file is unchanged, it is the target of the link that changed).

Is there something else that I missed in creating the addon?

Thanks,

    Neil


MathCAT addon not showing up in addons.nvda-project.org/

neils
 

The PR for MathCAT was approved over a day ago, but I don't see it listed in https://addons.nvda-project.org/. In one of the many mistakes I made, the original addon was missing the README.html file. That has since been rectified by replacing the file pointed to in get.php with the one that has the README.html file (i.e., the get.php file is unchanged, it is the target of the link that changed).

Is there something else that I missed in creating the addon?

Thanks,

    Neil


Re: Favorite folders addon

Aschalew Byness
 

Rui
May God bless you. You are way too kind.
Thankyou


On Mon, Jun 6, 2022 at 5:20 PM Rui Fontes <rui.fontes@...> wrote:

Hello!


Get it from:

https://www.dropbox.com/s/jkbfk1pf5umvo1d/favoriteFolders_2022.05_Gen.nvda-addon?dl=1


Best regards,

Rui Fontes
NVDA portuguese team


Às 18:44 de 06/06/2022, Aschalew Byness escreveu:
Hi listers
Share with me if anyone of you have Favorite folders addon.

Thanks


Re: Favorite folders addon

Rui Fontes
 

Hello!


Get it from:

https://www.dropbox.com/s/jkbfk1pf5umvo1d/favoriteFolders_2022.05_Gen.nvda-addon?dl=1


Best regards,

Rui Fontes
NVDA portuguese team


Às 18:44 de 06/06/2022, Aschalew Byness escreveu:

Hi listers
Share with me if anyone of you have Favorite folders addon.

Thanks


Favorite folders addon

Aschalew Byness
 

Hi listers
Share with me if anyone of you have Favorite folders addon.

Thanks


Re: Becky 0.3-dev compatible with NVDA 2022.1 #addonrelease

Lukasz Golonka
 

The PR against add-ons files is here:
https://github.com/nvaccess/addonFiles/pull/371

--
Regards
Lukasz


Re: About Tesseract OCR.

Javi Domínguez
 

Hello again.

I have run wia-cmd-scanner.exe directly from the command line, in the Windows CMD, and it has worked perfectly.

However from the addon it doesn't work. stderr shows:

b'The system cannot find the specified path.\r\n'

I hope this helps. It's late and I can't do any more research. Tomorrow dawns very early.

Good nitht

Javi

El 05/06/2022 a las 22:24, Javi Domínguez via groups.io escribió:
Hello.


* It is a limitation of the routine to get the complete path of the file...

If you can help bettering the routine, I will be glad!

OK. I'll take a look at that.


* The scanner is recognized as WIA compatible?

what do you mean with "is recognized as WIA compatible"? Yes, the scanner is WIA compliant, other apps recognize it but the addon I don't know, it just doesn't do anything.


* What Windows version?
Windows 10 21H2 (x64) build 19044.1706


* So, I should name each thread differently...

Yes, it would be convenient.


* And, before starting another thread, verify if it is active, right?

I think so. I would wait for the current thread to finish before starting another.


Note that if you assign the new thread to self._thread, the old thread will continue to run until it finishes but you will no longer have a reference to it. You will only be able to access it via threading.enumerate().


You may need a method to kill threads that are stuck or taking too long.


Greetings


Javi


El 05/06/2022 a las 20:34, Rui Fontes escribió:
Hola Javi!


Comments in midle of your message marked with *...


Às 18:47 de 05/06/2022, Javi Domínguez escreveu:
When I try to recognize a file on the desktop two things happen:

1. If this is the first time a file is recognized, it says "file not supported" (tested with PDF and BMP file types). The same file recognized from a folder in Windows explorer works fine.

* It is a limitation of the routine to get the complete path of the file...

If you can help bettering the routine, I will be glad!



2. If another file has been recognized before, it process any file even if it is not of a supported type. In any case, supported type or not, it always shows the result of the previous recognition, not the requested file. Even after manually deleting the oc.txt and ocr-xxx.png files from the addon's images folder, it re-processes the previously requested file.

* It was an error on code... The path of last document was not cleared, so list of ocr-xxx.png file was created again...



On the other hand, recognition from scanner does not work for me. My scanner is HP Scanjet G2410, It may not be supported but the addon does not speak any message about it. The thread that processes this remains active and never terminates. If the script is executed again, another thread is launched that also remains active and so on forever. It is normal for the user, if he does not receive a response, to try to run it again, so you can end up with a lot of active threads.
* The scanner is recognized as WIA compatible?

* What Windows version?


I have the habit of naming the treads that I use to be able to debug better with threading.enumerate(). I have added the line to __init__.py
self._thread.name = "tesseractOCR"
before starting the thread to do these tests.
* So, I should name each thread differently...

* And, before starting another thread, verify if it is active, right?


finally, in terms of user experience, I think you need to give more information about what is happening. Sometimes, if the recognition takes time, the user does not know if it is working correctly or not.
* It is schedulled for next version...


Thanks!


Rui Fontes









Re: About Tesseract OCR.

Javi Domínguez
 

Hello.


* It is a limitation of the routine to get the complete path of the file...

If you can help bettering the routine, I will be glad!

OK. I'll take a look at that.


* The scanner is recognized as WIA compatible?

what do you mean with "is recognized as WIA compatible"? Yes, the scanner is WIA compliant, other apps recognize it but the addon I don't know, it just doesn't do anything.


* What Windows version?
Windows 10 21H2 (x64) build 19044.1706


* So, I should name each thread differently...

Yes, it would be convenient.


* And, before starting another thread, verify if it is active, right?

I think so. I would wait for the current thread to finish before starting another.


Note that if you assign the new thread to self._thread, the old thread will continue to run until it finishes but you will no longer have a reference to it. You will only be able to access it via threading.enumerate().


You may need a method to kill threads that are stuck or taking too long.


Greetings


Javi


El 05/06/2022 a las 20:34, Rui Fontes escribió:
Hola Javi!


Comments in midle of your message marked with *...


Às 18:47 de 05/06/2022, Javi Domínguez escreveu:
When I try to recognize a file on the desktop two things happen:

1. If this is the first time a file is recognized, it says "file not supported" (tested with PDF and BMP file types). The same file recognized from a folder in Windows explorer works fine.

* It is a limitation of the routine to get the complete path of the file...

If you can help bettering the routine, I will be glad!



2. If another file has been recognized before, it process any file even if it is not of a supported type. In any case, supported type or not, it always shows the result of the previous recognition, not the requested file. Even after manually deleting the oc.txt and ocr-xxx.png files from the addon's images folder, it re-processes the previously requested file.

* It was an error on code... The path of last document was not cleared, so list of ocr-xxx.png file was created again...



On the other hand, recognition from scanner does not work for me. My scanner is HP Scanjet G2410, It may not be supported but the addon does not speak any message about it. The thread that processes this remains active and never terminates. If the script is executed again, another thread is launched that also remains active and so on forever. It is normal for the user, if he does not receive a response, to try to run it again, so you can end up with a lot of active threads.
* The scanner is recognized as WIA compatible?

* What Windows version?


I have the habit of naming the treads that I use to be able to debug better with threading.enumerate(). I have added the line to __init__.py
self._thread.name = "tesseractOCR"
before starting the thread to do these tests.
* So, I should name each thread differently...

* And, before starting another thread, verify if it is active, right?


finally, in terms of user experience, I think you need to give more information about what is happening. Sometimes, if the recognition takes time, the user does not know if it is working correctly or not.
* It is schedulled for next version...


Thanks!


Rui Fontes






Re: NVDA NAO (NVDA Advanced OCR)

René Linke
 

861 - 880 of 19871