Date   

Ideas to store add-on state.

Pawel Urbanski
 

Dear Everyone,
Since I still occasionally use Visual Studio Code and nobody followed
up with my request to take over the development, I am working on
updating the add-on.
I am looking for hints and inspiration on how to best keep add-on
state. It does not need to be saved but needs to work when the
application is running. I use it to store some add-on flags and state.
Is there anything in NVDA api like this or maybe you cane up with a
working way to share global state. There is the configuration class
but I don't know if it can be made local to the add-on running
instance in the scope of the AppModule class - please treat this
example as explanatory not in terms of working code.

Thank you for any hints...
Pawel


Re: Text Analyzer #addonrequest

Brian's Mail list account
 

Do you have a direct link?
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Noah Carver" <noahcarver494@...>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Monday, June 20, 2022 4:28 PM
Subject: [nvda-addons] Text Analyzer #addonrequest


Dear List,

A particular feature which I have found quite useful in JAWS is the Text Analyzer, which checks for various errors including extra spaces, unmatched opening and closing symbols, font changes, ETC. and notifies the user so that they may fix the mistake. This feature would be immensely helpful for NVDA users, and I am therefore requesting an add-on which adds this functionality. The documentation describing the text analyzer is pasted below, fully describing how the functionality operates, its configuration options, ETC.

If any developer would be interested in creating this add-on, it would not only be appreciated by me, but also by many NVDA users who write often. Thank you for your time and interest.

Sincerely,

Noah

--Documentation starts here--




*******************
Text Analyzer Group
*******************



When editing a document using speech only, inconsistencies such as
unmatched parentheses, unintentional format changes, extra whitespace, and
stray or unspaced punctuation can often be missed. Text Analyzer is a tool
that notifies you of these errors in your document by using a spoken
message or WAV file. You can configure JAWS to announce discrepancies by
count, by description, or by sound while proofreading the document by
line, sentence, paragraph, or Say All command. Braille users will benefit
from this since a sound can be emitted before the user has time to read
the entire line looking for errors.



------------------------
Turning On Text Analyzer
------------------------



Text Analyzer is off by default. To turn it on, do one of the following:



* Use the layered keystroke, *INSERT+SPACEBAR* , *A*. By pressing and
releasing *INSERT+SPACEBAR* , and then pressing *A* , the Text Analyzer can
be toggled on or off.
* Open Settings Center ( *INSERT+F2* ). In the Search edit box type "text
analyzer" without the quotes. Press *DOWN ARROW* to move to Text Analyzer
in the filtered results. Press *SPACEBAR* to select an alert notification.

* Use Quick Settings ( *INSERT+V* ). The process for selecting an alert
notification is the same as the Settings Center procedure described above.





----------
Keystrokes
----------



If multiple issues are identified in the document, press *ALT+WINDOWS
Key+I* to move to the next item, or *ALT+SHIFT+WINDOWS Key+I* to move to
the previous item. Note that these keystrokes can still be used even if
Text Analyzer is off.



---------------------
Text Analyzer Options
---------------------



Use the radio buttons in this group to determine the type of alert used to
indicate errors when editing or proofreading a document by line, sentence,
paragraph, or Say All command. Select Indicate with Sound to play a WAV
file when a formatting error is detected. Select Speak Count to announce
the number of inconsistencies in the current text. Select Describe
Inconsistencies for a description of the error. The default setting is
off.



---------------------------
Indicate Mismatched Symbols
---------------------------



Select this check box to enable the detection of mismatched symbols such
as parenthesis, braces, brackets, angle brackets, and quotes. If this
check box is cleared, the items in the Symbols to Check group are not
available.



----------------
Symbols to Check
----------------



Select one or more check boxes to search for mismatched parentheses,
braces, brackets, angle brackets, or quotes where the equivalent opening
or closing symbol is missing. These check boxes are only available when
the Indicate Mismatched Symbols check box is selected.



------------------------
Inconsistencies to Check
------------------------



Select one or more check boxes to identify inconsistencies with stray
punctuation, extra spaces, missing capital letters, or inverted lowercase
and uppercase text.



---------------------
Font Changes to Check
---------------------



Select one or more check boxes to identify incorrect font changes in the
current text including name, size, attributes, and colors.


Re: Text Analyzer #addonrequest

Brian's Mail list account
 

Seconded by me. It needs a bit of housekeeping and logical layering of the options into different property sheets and also the ability to turn on and off the category as a whole. It will need some thought and testing by users though, as you are never going to please everyone whichever way you choose to separate the options. Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Luke Davis" <luke@...>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Monday, June 20, 2022 9:41 PM
Subject: Re: [nvda-addons] Text Analyzer #addonrequest


René Linke wrote:

but that add-on you referrd, that is very huge and very detailed. It has too many features in it, I wish that add-on would be split up in different smaller
add-ons, though.
You are not alone in thinking that Global Extension has too many different
things going on in it to be practical. I don't even think of it when looking for
an add-on, because even if it may have the feature I'm looking for, it is such a
random collection of things that I don't necessarily want, with such complexity,
that understanding everything about it and how it interacts with my other
software is a time commitment I can't make.

Not to diminish the work that Paul put into it; I'm sure it is quite an
accomplishment and solves many problems for many people. But if it were split
into individual add-ons, or even category specific add-on collections, it would
help many more people who are looking for specific things.

Luke


Re: Text Analyzer #addonrequest

Brian's Mail list account
 

Does not the spellchecker spot most of these, It certainly does the lack of a space after a comma, or extra spaces, but maybe this is strict.
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Noah Carver" <noahcarver494@...>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Monday, June 20, 2022 4:28 PM
Subject: [nvda-addons] Text Analyzer #addonrequest


Dear List,

A particular feature which I have found quite useful in JAWS is the Text Analyzer, which checks for various errors including extra spaces, unmatched opening and closing symbols, font changes, ETC. and notifies the user so that they may fix the mistake. This feature would be immensely helpful for NVDA users, and I am therefore requesting an add-on which adds this functionality. The documentation describing the text analyzer is pasted below, fully describing how the functionality operates, its configuration options, ETC.

If any developer would be interested in creating this add-on, it would not only be appreciated by me, but also by many NVDA users who write often. Thank you for your time and interest.

Sincerely,

Noah

--Documentation starts here--




*******************
Text Analyzer Group
*******************



When editing a document using speech only, inconsistencies such as
unmatched parentheses, unintentional format changes, extra whitespace, and
stray or unspaced punctuation can often be missed. Text Analyzer is a tool
that notifies you of these errors in your document by using a spoken
message or WAV file. You can configure JAWS to announce discrepancies by
count, by description, or by sound while proofreading the document by
line, sentence, paragraph, or Say All command. Braille users will benefit
from this since a sound can be emitted before the user has time to read
the entire line looking for errors.



------------------------
Turning On Text Analyzer
------------------------



Text Analyzer is off by default. To turn it on, do one of the following:



* Use the layered keystroke, *INSERT+SPACEBAR* , *A*. By pressing and
releasing *INSERT+SPACEBAR* , and then pressing *A* , the Text Analyzer can
be toggled on or off.
* Open Settings Center ( *INSERT+F2* ). In the Search edit box type "text
analyzer" without the quotes. Press *DOWN ARROW* to move to Text Analyzer
in the filtered results. Press *SPACEBAR* to select an alert notification.

* Use Quick Settings ( *INSERT+V* ). The process for selecting an alert
notification is the same as the Settings Center procedure described above.





----------
Keystrokes
----------



If multiple issues are identified in the document, press *ALT+WINDOWS
Key+I* to move to the next item, or *ALT+SHIFT+WINDOWS Key+I* to move to
the previous item. Note that these keystrokes can still be used even if
Text Analyzer is off.



---------------------
Text Analyzer Options
---------------------



Use the radio buttons in this group to determine the type of alert used to
indicate errors when editing or proofreading a document by line, sentence,
paragraph, or Say All command. Select Indicate with Sound to play a WAV
file when a formatting error is detected. Select Speak Count to announce
the number of inconsistencies in the current text. Select Describe
Inconsistencies for a description of the error. The default setting is
off.



---------------------------
Indicate Mismatched Symbols
---------------------------



Select this check box to enable the detection of mismatched symbols such
as parenthesis, braces, brackets, angle brackets, and quotes. If this
check box is cleared, the items in the Symbols to Check group are not
available.



----------------
Symbols to Check
----------------



Select one or more check boxes to search for mismatched parentheses,
braces, brackets, angle brackets, or quotes where the equivalent opening
or closing symbol is missing. These check boxes are only available when
the Indicate Mismatched Symbols check box is selected.



------------------------
Inconsistencies to Check
------------------------



Select one or more check boxes to identify inconsistencies with stray
punctuation, extra spaces, missing capital letters, or inverted lowercase
and uppercase text.



---------------------
Font Changes to Check
---------------------



Select one or more check boxes to identify incorrect font changes in the
current text including name, size, attributes, and colors.


Re: Dropbox tray gone inaccessible again

Brian's Mail list account
 

Well I've tried one windows 10 and two windows 7 machines and the new interface does not speak nor do the alerts even though a sighted person confirms they are still turned on. Yes have run the repair tool. I cannot see that any other add on might have changed this as they have been the same for years. If everyone else says its working then it sounds like at least three copies of dropbox or windows have a unique issue and I'd not know where to start. This sort of thing is mega annoying!

Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Rui Fontes" <rui.fontes@...>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Monday, June 20, 2022 12:26 PM
Subject: Re: [nvda-addons] Dropbox tray gone inaccessible again


Sorry, but which last version?


I am using:

NVDA alpha-25623,1d24f9b0

Dropbox 150.4.5000


and the copy notiffications are announced by NVDA as normally...


The last version fo the add-on only announces the presence or absence of the Dropbox icon on systray and if it is there, can allso announce the status...


Best regards,

Rui Fontes
NVDA portuguese team




Às 09:35 de 20/06/2022, Brian's Mail list account via groups.io escreveu:
Not only those but the ding and alert copied to clipboard when you copy link to clipboard no longer is indicated in the latest version and current nvda.
Brian



Re: Text Analyzer #addonrequest

Luke Davis
 

René Linke wrote:

but that add-on you referrd, that is very huge and very detailed. It has too many features in it, I wish that add-on would be split up in different smaller
add-ons, though.
You are not alone in thinking that Global Extension has too many different things going on in it to be practical. I don't even think of it when looking for an add-on, because even if it may have the feature I'm looking for, it is such a random collection of things that I don't necessarily want, with such complexity, that understanding everything about it and how it interacts with my other software is a time commitment I can't make.

Not to diminish the work that Paul put into it; I'm sure it is quite an accomplishment and solves many problems for many people. But if it were split into individual add-ons, or even category specific add-on collections, it would help many more people who are looking for specific things.

Luke


Re: Text Analyzer #addonrequest

René Linke
 

Hi,

but that add-on you referrd, that is very huge and very detailed. It has too many features in it, I wish that add-on would be split up in different smaller add-ons, though.

cheers,
René

Am 20.06.2022 um 18:19 schrieb Ângelo Abrantes:

Hi,


This addon is alread created:

NVDA global Extension

Às 16:28 de 20-06-2022, Noah Carver escreveu:
Dear List,

A particular feature which I have found quite useful in JAWS is the Text Analyzer, which checks for various errors including extra spaces, unmatched opening and closing symbols, font changes, ETC. and notifies the user so that they may fix the mistake. This feature would be immensely helpful for NVDA users, and I am therefore requesting an add-on which adds this functionality. The documentation describing the text analyzer is pasted below, fully describing how the functionality operates, its configuration options, ETC.

If any developer would be interested in creating this add-on, it would not only be appreciated by me, but also by many NVDA users who write often. Thank you for your time and interest.

Sincerely,

Noah

--Documentation starts here--

Text Analyzer Group

When editing a document using speech only, inconsistencies such as unmatched parentheses, unintentional format changes, extra whitespace, and stray or unspaced punctuation can often be missed. Text Analyzer is a tool that notifies you of these errors in your document by using a spoken message or WAV file. You can configure JAWS to announce discrepancies by count, by description, or by sound while proofreading the document by line, sentence, paragraph, or Say All command. Braille users will benefit from this since a sound can be emitted before the user has time to read the entire line looking for errors.

Turning On Text Analyzer

Text Analyzer is off by default. To turn it on, do one of the following:

  • Use the layered keystroke, INSERT+SPACEBAR, A. By pressing and releasing INSERT+SPACEBAR, and then pressing A, the Text Analyzer can be toggled on or off.
  • Open Settings Center (INSERT+F2). In the Search edit box type "text analyzer" without the quotes. Press DOWN ARROW to move to Text Analyzer in the filtered results. Press SPACEBAR to select an alert notification.
  • Use Quick Settings (INSERT+V). The process for selecting an alert notification is the same as the Settings Center procedure described above.

Keystrokes

If multiple issues are identified in the document, press ALT+WINDOWS Key+I to move to the next item, or ALT+SHIFT+WINDOWS Key+I to move to the previous item. Note that these keystrokes can still be used even if Text Analyzer is off.

Text Analyzer Options

Use the radio buttons in this group to determine the type of alert used to indicate errors when editing or proofreading a document by line, sentence, paragraph, or Say All command. Select Indicate with Sound to play a WAV file when a formatting error is detected. Select Speak Count to announce the number of inconsistencies in the current text. Select Describe Inconsistencies for a description of the error. The default setting is off.

Indicate Mismatched Symbols

Select this check box to enable the detection of mismatched symbols such as parenthesis, braces, brackets, angle brackets, and quotes. If this check box is cleared, the items in the Symbols to Check group are not available.

Symbols to Check

Select one or more check boxes to search for mismatched parentheses, braces, brackets, angle brackets, or quotes where the equivalent opening or closing symbol is missing. These check boxes are only available when the Indicate Mismatched Symbols check box is selected.

Inconsistencies to Check

Select one or more check boxes to identify inconsistencies with stray punctuation, extra spaces, missing capital letters, or inverted lowercase and uppercase text.

Font Changes to Check

Select one or more check boxes to identify incorrect font changes in the current text including name, size, attributes, and colors.

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

Sem vírus. www.avast.com


Re: Text Analyzer #addonrequest

Ângelo Abrantes
 

Hi,


This addon is alread created:

NVDA global Extension

Às 16:28 de 20-06-2022, Noah Carver escreveu:
Dear List,

A particular feature which I have found quite useful in JAWS is the Text Analyzer, which checks for various errors including extra spaces, unmatched opening and closing symbols, font changes, ETC. and notifies the user so that they may fix the mistake. This feature would be immensely helpful for NVDA users, and I am therefore requesting an add-on which adds this functionality. The documentation describing the text analyzer is pasted below, fully describing how the functionality operates, its configuration options, ETC.

If any developer would be interested in creating this add-on, it would not only be appreciated by me, but also by many NVDA users who write often. Thank you for your time and interest.

Sincerely,

Noah

--Documentation starts here--

Text Analyzer Group

When editing a document using speech only, inconsistencies such as unmatched parentheses, unintentional format changes, extra whitespace, and stray or unspaced punctuation can often be missed. Text Analyzer is a tool that notifies you of these errors in your document by using a spoken message or WAV file. You can configure JAWS to announce discrepancies by count, by description, or by sound while proofreading the document by line, sentence, paragraph, or Say All command. Braille users will benefit from this since a sound can be emitted before the user has time to read the entire line looking for errors.

Turning On Text Analyzer

Text Analyzer is off by default. To turn it on, do one of the following:

  • Use the layered keystroke, INSERT+SPACEBAR, A. By pressing and releasing INSERT+SPACEBAR, and then pressing A, the Text Analyzer can be toggled on or off.
  • Open Settings Center (INSERT+F2). In the Search edit box type "text analyzer" without the quotes. Press DOWN ARROW to move to Text Analyzer in the filtered results. Press SPACEBAR to select an alert notification.
  • Use Quick Settings (INSERT+V). The process for selecting an alert notification is the same as the Settings Center procedure described above.

Keystrokes

If multiple issues are identified in the document, press ALT+WINDOWS Key+I to move to the next item, or ALT+SHIFT+WINDOWS Key+I to move to the previous item. Note that these keystrokes can still be used even if Text Analyzer is off.

Text Analyzer Options

Use the radio buttons in this group to determine the type of alert used to indicate errors when editing or proofreading a document by line, sentence, paragraph, or Say All command. Select Indicate with Sound to play a WAV file when a formatting error is detected. Select Speak Count to announce the number of inconsistencies in the current text. Select Describe Inconsistencies for a description of the error. The default setting is off.

Indicate Mismatched Symbols

Select this check box to enable the detection of mismatched symbols such as parenthesis, braces, brackets, angle brackets, and quotes. If this check box is cleared, the items in the Symbols to Check group are not available.

Symbols to Check

Select one or more check boxes to search for mismatched parentheses, braces, brackets, angle brackets, or quotes where the equivalent opening or closing symbol is missing. These check boxes are only available when the Indicate Mismatched Symbols check box is selected.

Inconsistencies to Check

Select one or more check boxes to identify inconsistencies with stray punctuation, extra spaces, missing capital letters, or inverted lowercase and uppercase text.

Font Changes to Check

Select one or more check boxes to identify incorrect font changes in the current text including name, size, attributes, and colors.

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

Sem vírus. www.avast.com


Text Analyzer #addonrequest

 

Dear List,

A particular feature which I have found quite useful in JAWS is the Text Analyzer, which checks for various errors including extra spaces, unmatched opening and closing symbols, font changes, ETC. and notifies the user so that they may fix the mistake. This feature would be immensely helpful for NVDA users, and I am therefore requesting an add-on which adds this functionality. The documentation describing the text analyzer is pasted below, fully describing how the functionality operates, its configuration options, ETC.

If any developer would be interested in creating this add-on, it would not only be appreciated by me, but also by many NVDA users who write often. Thank you for your time and interest.

Sincerely,

Noah

--Documentation starts here--

Text Analyzer Group

When editing a document using speech only, inconsistencies such as unmatched parentheses, unintentional format changes, extra whitespace, and stray or unspaced punctuation can often be missed. Text Analyzer is a tool that notifies you of these errors in your document by using a spoken message or WAV file. You can configure JAWS to announce discrepancies by count, by description, or by sound while proofreading the document by line, sentence, paragraph, or Say All command. Braille users will benefit from this since a sound can be emitted before the user has time to read the entire line looking for errors.

Turning On Text Analyzer

Text Analyzer is off by default. To turn it on, do one of the following:

  • Use the layered keystroke, INSERT+SPACEBAR, A. By pressing and releasing INSERT+SPACEBAR, and then pressing A, the Text Analyzer can be toggled on or off.
  • Open Settings Center (INSERT+F2). In the Search edit box type "text analyzer" without the quotes. Press DOWN ARROW to move to Text Analyzer in the filtered results. Press SPACEBAR to select an alert notification.
  • Use Quick Settings (INSERT+V). The process for selecting an alert notification is the same as the Settings Center procedure described above.

Keystrokes

If multiple issues are identified in the document, press ALT+WINDOWS Key+I to move to the next item, or ALT+SHIFT+WINDOWS Key+I to move to the previous item. Note that these keystrokes can still be used even if Text Analyzer is off.

Text Analyzer Options

Use the radio buttons in this group to determine the type of alert used to indicate errors when editing or proofreading a document by line, sentence, paragraph, or Say All command. Select Indicate with Sound to play a WAV file when a formatting error is detected. Select Speak Count to announce the number of inconsistencies in the current text. Select Describe Inconsistencies for a description of the error. The default setting is off.

Indicate Mismatched Symbols

Select this check box to enable the detection of mismatched symbols such as parenthesis, braces, brackets, angle brackets, and quotes. If this check box is cleared, the items in the Symbols to Check group are not available.

Symbols to Check

Select one or more check boxes to search for mismatched parentheses, braces, brackets, angle brackets, or quotes where the equivalent opening or closing symbol is missing. These check boxes are only available when the Indicate Mismatched Symbols check box is selected.

Inconsistencies to Check

Select one or more check boxes to identify inconsistencies with stray punctuation, extra spaces, missing capital letters, or inverted lowercase and uppercase text.

Font Changes to Check

Select one or more check boxes to identify incorrect font changes in the current text including name, size, attributes, and colors.


Re: Dropbox tray gone inaccessible again

Rui Fontes
 

Sorry, but which last version?


I am using:

NVDA alpha-25623,1d24f9b0

Dropbox 150.4.5000


and the copy notiffications are announced by NVDA as normally...


The last version fo the add-on only announces the presence or absence of the Dropbox icon on systray and if it is there, can allso announce the status...


Best regards,

Rui Fontes
NVDA portuguese team




Às 09:35 de 20/06/2022, Brian's Mail list account via groups.io escreveu:

Not only those but the ding and alert copied to clipboard when you copy link to clipboard no longer is indicated in the latest version and current nvda.
Brian


Re: Dropbox tray gone inaccessible again

Brian's Mail list account
 

Not only those but the ding and alert copied to clipboard when you copy link to clipboard no longer is indicated in the latest version and current nvda.
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.

----- Original Message -----
From: "Brian's Mail list account via groups.io" <bglists@...>
To: <nvda-addons@nvda-addons.groups.io>
Sent: Saturday, June 18, 2022 11:47 AM
Subject: [nvda-addons] Dropbox tray gone inaccessible again


Is the author of the dropbox add on here?
At the moment no alerts are given when a shared folder is changed and the
normal menu off of the dropbox tray icon no longer operates, bringing up a
tray assistant window apparently with nothing inside it. I just don't get
how they can get it so wrong. Maybe if anyone has any contacts at Dropbox
you could alert them to this regression. Thanks.
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.


NVDA 2022.2 Beta 2 now available

Quentin Christensen
 

Hi everyone,

NVDA 2022.2 Beta 2 is now available for download & testing for those who wish to try out what the next version of NVDA will have to offer before it comes out. 

This beta fixes a bug from Beta 1 and adds some updates to translations.


Kind regards

Quentin.

--
Quentin Christensen
Training and Support Manager


Re: golden cursor problem

leglaude
 

 
hi!it's good, thanks!

----- Original Message -----
Sent: Saturday, June 18, 2022 11:41 PM
Subject: Re: [nvda-addons] golden cursor problem

Hi,
The file.gc should be constructed by goldenCursor addon.
it is just a file to preserve the positions of the mouse in specific application.
So if you mean that your file, heartstone.gc
has been created by another instance of goldenCursor addon, and you want to include it in your current addon
Really goldenCursor does not have an import feature
So, you have to copy the file heartstone.gc
then enter the folder of goldenCursor addon
in the root folder of the addon, meaning this folder
you may find a folder named mousePositions
now enter it, and paste your .gc file in it.
If you did not find the folder named mousePositions
then that means, you haven't yet save any positions using the addon
Try to save one positions for any program, say notepad for instance
after that the folder mousePositions, will show up, and you can paste your file in it.
Then restart NVDA, and go on.
 regards
 
 ibrahim

On 6/18/2022 11:05 AM, leglaude wrote:
Hi all,
I try use golden cursor.
 
I have a script it's a file.gc
 
But I not find where I can import file.gc for my application.
 
it's for game heartstone.
the file for golden cursor is heartstone.gc
 
Thanks!


Re: About Tesseract OCR.

Rui Fontes
 

Hola Javi!


Firstly, thanks by your PR!


But, I would like to better it a litle more...

The case is:

When I have set this new laptop and installed Dropbox, I have selected to backup the desktop folder, and so my desktop full path is:

c:\Users\userName\dropbox\ambiente de trabalho

"Ambiente de trabalho" is the portuguese expression for "Desktop"...


So, I have tried to use shlobj.getKnownFolderId to get the correct desktop path for all cases...

In spite of modifying the shlobj.ini and importing it in the add-on, I didn't manage to do it...


I have added in shlobj.py, on the

class FolderId(str, Enum):

the following lines:

    #Desktop folder
    # The typical path is "C:\Users\Utilizador\appData\desktop
    APP_DATA_DESKTOP = "{B2C5E279-7ADD-439F-B28C-C41FE1BBF672}"

the string between quotes was found at:

https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid"""


Someone can help on this?


Best regards,

Rui Fontes
NVDA portuguese team



Às 17:59 de 11/06/2022, Javi Domínguez escreveu:

Hello.


You have a pull request that fixes both issues.


https://github.com/ruifontes/tesseractOCR/pull/2


Greetings


Javi Dominguez



El 05/06/2022 a las 23:01, Javi Domínguez via groups.io escribió:
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: NVDA Dev & Test Toolbox #addonrequestreview

Noelia Ruiz
 

Hi Cyrille, thanks for including this add-on on the website.
In case you don't receive GitHub notifications for issues, I inform
you here: I've created three issues on your GitHub repo.
Cheers

2022-06-18 23:30 GMT+02:00, Cyrille via groups.io
<cyrille.bougot2@...>:

Hi all

Thanks for the feedback.
Since the add-on seems to interest at least a few people, I will definitely
ask its inclusion on the community website.
Beforehand, I have to take into account some of the remarks; special thanks
to Lukasz for all these points with details.

Some other points will be included later, e.g. the GUI to choose the
function to patch that I had already in mind.

Cheers,

Cyrille






Re: golden cursor problem

Ibrahim Hamadeh
 

Hi,
The file.gc should be constructed by goldenCursor addon.
it is just a file to preserve the positions of the mouse in specific application.
So if you mean that your file, heartstone.gc
has been created by another instance of goldenCursor addon, and you want to include it in your current addon
Really goldenCursor does not have an import feature
So, you have to copy the file heartstone.gc
then enter the folder of goldenCursor addon
in the root folder of the addon, meaning this folder
you may find a folder named mousePositions
now enter it, and paste your .gc file in it.
If you did not find the folder named mousePositions
then that means, you haven't yet save any positions using the addon
Try to save one positions for any program, say notepad for instance
after that the folder mousePositions, will show up, and you can paste your file in it.
Then restart NVDA, and go on.
 regards
 
 ibrahim

On 6/18/2022 11:05 AM, leglaude wrote:
Hi all,
I try use golden cursor.
 
I have a script it's a file.gc
 
But I not find where I can import file.gc for my application.
 
it's for game heartstone.
the file for golden cursor is heartstone.gc
 
Thanks!


Re: NVDA Dev & Test Toolbox #addonrequestreview

Cyrille
 

Hi all

Thanks for the feedback.
Since the add-on seems to interest at least a few people, I will definitely ask its inclusion on the community website.
Beforehand, I have to take into account some of the remarks; special thanks to Lukasz for all these points with details.

Some other points will be included later, e.g. the GUI to choose the function to patch that I had already in mind.

Cheers,

Cyrille


Re: NVDA Dev & Test Toolbox #addonrequestreview

Lukasz Golonka
 

Cyrille,

Many thanks for making this very useful add-on more official than it was!
While I'm using some parts of it pretty regularly I never had time to
look at the code, or to familiarize myself with all its features. Some
review points below:

- In the beepError file you may consider using globalVars.appDir if it
is defined when creating path to the error sound. That would allow
people on never versions of NVDA who are using Ivona SAPI voices (they
tent to change CWD when loading them for the first time) to have the
sound played.
- in the myHandle function there is unnecessary import of api
- in the fileOpener when retrieving path to the nVDA source, and when
user is running a source build you're setting the path to
globalVars.appDir even for versions of NVDA where it is not yet
implemented. An alternative approach which would handle the case where
CWD has been changed to something silly would be to return
__main__.__file__ in such case.
- In the logReader classes such as LogMessageHeader and LogMessage don't
inherit from object - this causes them to be old style classes under
Python 2. While I cannot point out any real issues due to this in code
which targets both Python 2 and 3 it is better to inherit from object
explicitly.
- In the makeFromTextInfo method you're raising NotImplemented instead of
NotImplementedError - this is a common Python gotcha NotImplemented
cannot be raised it is a singleton returned when the given class does not
support a particular arithmetic operation on the provided argument.
- Not an error as such but when checking if the given window is the log
viewer you can avoid comparing window names by checking if the window
handle equals gui.logViewer.logViewer.GetHandle() (don't forget to
handle the case where log viewer is not yet initialized or closed).
- It is unclear to me why you're setting directory to None in the
restartWithOptions for Python 2 versions of NVDA, so a comment in code
here would be nice to have.
- The design of the restartWithOptions is... shall we say, suboptimal:
- The OPTION-LIST would greatly benefit from usages of named tuples, so
that you do not need to remember what indexes for the given suboptions
are
- Since each option has a type of allowed values you may avoid these
extended isinstance checks, implement a method called createControls or
similar for each of the classes such as FolderStr, and use polymorphism
to create the control for each of the options.
- If the default value is neither FolderStr nor FileStr you're using a
bare raise statement effectively throwing whatever exception would be
returned by sys.exc_info at this point - that is almost certainly not
what you want to do - when I've done this for testing I got exception
from the touchHandler as my machine is not touch capable.
- In the script_toggleStackTraceLog _originalFunction does not need to
be defined as global
- While certainly not something to implement for this version it would
be interesting to introduce a gui for specifying what function should be
patched for stack tracing.
- I have some reservations about the way in which compatibility for
controlTypes is handled. Essentially it is never a good idea to modify
the original module with the new code unless you have to monkey patch it.
Additionally more and more add-ons seems to add their own implementation
of controlTypes.Role and controlTypes.State and it is only a matter of
time when, depending on the order in which add-ons are loaded some
implementation becomes incompatible with whatever the next add-on
decided to implement causing no end of troubles. For an alternative,
much safer, implementation, you can take a look at my add-on for Becky!
in particular class ControlTypesCompatWrapper. It does not support
output reasons, but adding them should be trivial.


--
Regards
Lukasz


Dropbox tray gone inaccessible again

Brian's Mail list account
 

Is the author of the dropbox add on here?
At the moment no alerts are given when a shared folder is changed and the normal menu off of the dropbox tray icon no longer operates, bringing up a tray assistant window apparently with nothing inside it. I just don't get how they can get it so wrong. Maybe if anyone has any contacts at Dropbox you could alert them to this regression. Thanks.
Brian

--
bglists@...
Sent via blueyonder.(Virgin media)
Please address personal E-mail to:-
briang1@..., putting 'Brian Gaff'
in the display name field.


Re: NVDA Dev & Test Toolbox #addonrequestreview

Luke Davis
 

Cyrille via groups.io wrote:

According to people's feedback, i.e. if people think that this add-on can be useful, I will open a PR myself against addonFiles to request its integration
in the community website.
Please do. I have not installed it yet, but based on its description I will be definitely installing it soon.

I have an add-on called Debug Helper, then renamed to Dev Helper, for which I had some similar plans, but not nearly so extensive. I got off on other projects, and never developed it to where I wanted.

I had decided that I would probably discontinue that one rather than work on it further, and seeing this one of yours has confirmed that decision.

I look forward to using Dev & Test Toolbox, and hope you do decide to submit to the community site.

Luke

641 - 660 of 19738