Re: How to use eventHandler.requestEvents
Hi, I see. Do you know if this event is mapped to an existing NvDA event? One way to find out is running AccEvent, part of Windows SDK tools. If not, it will involve some runtime under the hood changes to let NvDA recognize this event (not sure how to do this for Microsoft Active Accessibility, but it’s a bit involved in UI Automation; based on Windows 10 App Essentials add-on source code in front of me, it involves runtime manipulation of UIA events map; at least that’s the high-level overview, so let’s discuss this on a different list). Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of falkogiepmans@...
Sent: Wednesday, April 14, 2021 9:11 AM To: nvda@nvda.groups.io Subject: Re: [nvda] How to use eventHandler.requestEvents
"focusChanged" is an SAP event, not a NVDA event. I want NVDA to be able to listen to this SAP event and handle it the same way as NVDA handles it own events.
|
|
Re: How to use eventHandler.requestEvents
falkogiepmans@...
"focusChanged" is an SAP event, not a NVDA event. I want NVDA to be able to listen to this SAP event and handle it the same way as NVDA handles it own events.
I think I misunderstand not only requestEvents but also some other event related stuff in NVDA, so I'll check your suggested example and lurk around in the suggested groups to figure out what I actually want.
|
|
Re: How to use eventHandler.requestEvents
falkogiepmans@...
Thanks Brian and Joseph! I think both groups are interesting to look around in.
|
|
Re: How to use eventHandler.requestEvents
Hi, I think one way to distinguish between these two would be the scope of the question:
There is some overlap, but I think the above criteria is one way of distinguishing between the two. Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Brian Vogel
Sent: Wednesday, April 14, 2021 8:42 AM To: nvda@nvda.groups.io Subject: Re: [nvda] How to use eventHandler.requestEvents
On Wed, Apr 14, 2021 at 11:38 AM, Joseph Lee wrote:
- Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042 Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself. ~ Richard M. Nixon
|
|
Re: How to use eventHandler.requestEvents
On Wed, Apr 14, 2021 at 11:38 AM, Joseph Lee wrote:
The add-ons list does discuss coding but is geared towards add-on authoring, which I think is the intent behind the question.- And you'd be far better at reading between the lines for the intent behind this question than I am. Thanks for that additional pointer. I'm never quite sure which of the development focused groups is best to direct someone to, and I try to avoid doing so unless the question is clearly development related. -- Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042 Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself. ~ Richard M. Nixon
|
|
Re: How to use eventHandler.requestEvents
Hi, I think a more appropriate list would be NVDA Add-ons list: https://nvda-addons.groups.io/g/nvda-addons The add-ons list does discuss coding but is geared towards add-on authoring, which I think is the intent behind the question. Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of Brian Vogel
Sent: Wednesday, April 14, 2021 8:24 AM To: nvda@nvda.groups.io Subject: Re: [nvda] How to use eventHandler.requestEvents
On Wed, Apr 14, 2021 at 08:17 AM, <falkogiepmans@...> wrote:
-
-- Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042 Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself. ~ Richard M. Nixon
|
|
Re: How to use eventHandler.requestEvents
Hi, Where did you see “focusChanged” event defined in NVDA? I can’t see that event defined in my copy of NVDA screen reader source code at the moment. To answer the original question at hand: without going into details (something reserved for NVDA Add-ons list), eventHandler.requestEvents function is designed to let app modules respond to app events in the background. This is useful if you need to let NvDA monitor changes to an app control from everywhere. For example, an app might raise name change event in an app, and you may wish to let NVDA announce changes to this control from everywhere. A practical example in use is StationPlaylist add-on where NVDA is told to monitor for changes in status bar texts from everywhere. Cheers, Joseph
From: nvda@nvda.groups.io <nvda@nvda.groups.io> On Behalf Of falkogiepmans@...
Sent: Wednesday, April 14, 2021 5:17 AM To: nvda@nvda.groups.io Subject: [nvda] How to use eventHandler.requestEvents
Hi all,
|
|
Re: How to use eventHandler.requestEvents
On Wed, Apr 14, 2021 at 08:17 AM, <falkogiepmans@...> wrote:
Is this the place to post these kind of questions?- Not really. The focus here is on how to use NVDA as an end user, not as a developer. There is actually an NVDA Screen Reader Development Group where this sort of "under the hood" discussion is more suited. Note well that it is NOT a general user support list (which the NVDA Group is), but is focused on those doing coding:
Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042 Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself. ~ Richard M. Nixon
|
|
How to use eventHandler.requestEvents
falkogiepmans@...
Hi all,
Currently I am working on a appModule for SAP, this has its own API and internal events. I would like NVDA to be able to listen to some of those events. One of these events is "FocusChanged", since NVDA does not notice this in SAP. My idea was to use requestEvents as follows: Example Code class AppModule(appModuleHandler.AppModule): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) eventHandler.requestEvents("FocusChanged", processId=self.processID,windowClassName='someWindow') End Example Code And use this event in some overlayclass: Example Code class SAPClass(IAccessible): def event_FocusChanged(self): ...do something... End Example Code This does not seem to work. Is this what eventHandler.requestEvents is meant for or am I understanding it wrong? I am quite new to events in general but I want to get my head around it. Side question: Is this the place to post these kind of questions? Thanks in advance, Falko
|
|
Re: comment section in you tube is not displaying
Quentin Christensen
When I was exploring before, I tried in both Firefox and Chrome. I did find a couple of times it hadn't yet loaded the comments, which was why I thought it was waiting until the focus actually was at the bottom to load them - Either way, it is very slow. I think it's just that sluggishness rather than a browser issue, but that's just a guess.
On Wed, Apr 14, 2021 at 2:33 PM Luke Davis <luke@...> wrote: The old trick of pressing Control+End, then shift+2 (to go back to the previous --
Quentin Christensen Training and Support Manager Training: https://www.nvaccess.org/shop/ Certification: https://certification.nvaccess.org/ User group: https://nvda.groups.io/g/nvda Facebook: http://www.facebook.com/NVAccess Twitter: @NVAccess
|
|
Re: comment section in you tube is not displaying
Luke Davis
The old trick of pressing Control+End, then shift+2 (to go back to the previous heading level 2), still works to find comments.
However, Youtube is taking longer than ever to show comments now--I just had timings of 3 seconds on one video, and 15 or so on another, before the Shift+2 actually worked. However--I might test this more--if you pause the video (by hitting K, or NVDA+F2 then K), then do the Control+End, Shift+2, that may load the comments quicker. It seemed to in one test I did. I don't generally use Youtube by computer, so YMMV, but these were my results in Firefox just now. -- Luke "In this life there are obstacles, and forces who overcome obstacles. You can be either one or the other. If you refuse to even try to clear an obstacle, you become the obstacle." - Joel Shepherd
|
|
Re: Error in Firefox
Gene
Uninstalling office causes such a problem but in this case, the registry fixing tool couldn't solve it. Since the problem uninstalling Office causes is unregistered dll files, when you ran system restore, it may have corrected the problem by reverting the registry and now everything is registered. If the problem was something else caused by the uninstallation, System Restore corrected it. You said there was a missing dll file. System Restore would replace it if you ran a restore point from before it was missing.
toggle quoted messageShow quoted text
Gene
-----Original Message-----
From: Casey Mathews Sent: Tuesday, April 13, 2021 10:38 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox Well, System Restore worked. I sure wish I knew what caused the problem in the first place? Thanks for all of the suggestions. Casey Mathews WebFriendlyHelp.com: Makin’ your tech life easy! From: Casey Mathews Sent: Tuesday, April 13, 2021 9:28 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox I tried reinstalling firefox. I also tried running a temp copy of NVDA. I also reinstalled NVDA. None worked. I tried with Narrator and that will not even let me browse, so I think this must be some kind of system file issue. I ran file check and dism no errors. I’m trying windows restore. Casey Mathews WebFriendlyHelp.com: Makin’ your tech life easy! From: hurrikennyandopo ... Sent: Tuesday, April 13, 2021 9:04 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox Hi Which did you try re installing the copy of nvda or the browser? So the resetting of the browser did not work? Did you try the portable copy of nvda to see if it works correctly with the browser some times it is better to grab a new copy of nvda then try it as a temp copy to see if you get the same results. If it works correctly in the browser, then I would do a reset of nvda. But when you do that make sure that you turn it off then back on and get the message you get when you first install nvda. There is a setting in the nvda menu that will set it back to factory defaults. Gene nz On 14/04/2021 2:50 pm, Casey Mathews wrote: Thanks, that didn’t work. I even tried reinstalling it. I also tried the com fixing tool, restarted and tried again. Nothing. Casey Mathews WebFriendlyHelp.com: Makin’ your tech life easy! From: hurrikennyandopo ... Sent: Tuesday, April 13, 2021 7:20 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox Hi I have not had to do this for a while as when you have troubles with the browser and this sounds like the same I had a few years back but resetting the browser fixed the problem in those cases. This was both in fire fox and recently in google browser it would speak stuff only if I tabbed but no browse mode etc and in the case of fire fox you could not interact with the browser apart from the menus. the following page if you do go down this track can be fund at https://malwaretips.com/blogs/reset-firefox-settings/ try some of the other steps from other people and also try another copy of nvda if you have it on a portable to see if the same problem happens and if it does I am guessing the browser is the problem but if it works well with the portable on fire fox then have to look closer at nvda. As suggested also use the comm tool in nvda and see if that fixes the problem. it is all ways after doing that shut down the pc completely not sleep mode then start up the pc. if it was saying that in all the browsers and also down on the running application area there might be another way but it sounds like it is not this other problem. Gene nz On 14/04/2021 12:36 pm, Casey Mathews wrote: Whenever I open Firefox I hear NVDA say Unknown. At this point I’m unable to tab or do anything in the browser other than get into menus. This only happens in Firefox. Chrome and Edge work fine. I’m running NVDA 2020.4 and Windows 10 21H1 (64-bit) build 19043.899 An NVDA error log is below, but not sure what to make of it as I’m not a developer. displayText: exception: cannot unpack non-iterable NoneType object IAccessibleObject: <POINTER(IAccessible) ptr=0x73947c8 at a584cb0> IAccessibleChildID: -16777238 IAccessible event parameters: windowHandle=919304, objectID=-4, childID=-16777238 IAccessible accName: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IAccessible accRole: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IAccessible accState: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IAccessible accDescription: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IAccessible accValue: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) Casey Mathews
|
|
Re: Error in Firefox
Jackie
Casey, this sometimes happens when the default user profile gets corrupted.
toggle quoted messageShow quoted text
On 4/13/21, Casey Mathews <csm120@...> wrote:
Well, System Restore worked. --
Subscribe to a WordPress for Newbies Mailing List by sending a message to: wp4newbs-request@... with 'subscribe' in the Subject field OR by visiting the list page at http://www.freelists.org/list/wp4newbs & check out my sites at www.brightstarsweb.com & www.mysitesbeenhacked.com
|
|
Re: Error in Firefox
Well, System Restore worked. I sure wish I knew what caused the problem in the first place? Thanks for all of the suggestions.
WebFriendlyHelp.com: Makin’ your tech life easy!
From: Casey Mathews
Sent: Tuesday, April 13, 2021 9:28 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox
I tried reinstalling firefox. I also tried running a temp copy of NVDA. I also reinstalled NVDA. None worked. I tried with Narrator and that will not even let me browse, so I think this must be some kind of system file issue. I ran file check and dism no errors. I’m trying windows restore.
WebFriendlyHelp.com: Makin’ your tech life easy!
From: hurrikennyandopo ...
Hi
Which did you try re installing the copy of nvda or the browser?
So the resetting of the browser did not work?
Did you try the portable copy of nvda to see if it works correctly with the browser some times it is better to grab a new copy of nvda then try it as a temp copy to see if you get the same results. If it works correctly in the browser, then I would do a reset of nvda. But when you do that make sure that you turn it off then back on and get the message you get when you first install nvda.
There is a setting in the nvda menu that will set it back to factory defaults.
Gene nz
On 14/04/2021 2:50 pm, Casey Mathews wrote:
|
|
Re: Error in Firefox
Gene
Do you mean system restore?
Gene
On 4/13/2021 10:28 PM, Casey Mathews
wrote:
|
|
Re: comment section in you tube is not displaying
Gene
I suspect there is something wrong with Youtube. On another list there is discussion that comments canbe be seen with Edge but not with one or two other browsers.
toggle quoted messageShow quoted text
Also, because the person asking the question has been seeing them before and something must have changed. I tried looking for comments on a page and I didn't find them even though I skimmed down the page to allow it to change. Gene
-----Original Message-----
From: Quentin Christensen Sent: Tuesday, April 13, 2021 9:31 PM To: nvda@nvda.groups.io Subject: Re: [nvda] comment section in you tube is not displaying Although there is something which acts like an edit field to "add a public comment", it's done in such a way that it isn't actually a traditional edit field, so you can't find it by navigating by edit field or even form field. The best way I've found to get to it is: 1. Press NVDA+control+f to open NVDA's find function. 2. Type the word "comments" (without quotes) 3. Press ENTER to move to the first instance of the word. 4. Press TAB twice to move past "Sort by" and onto the edit field. I have found that sometimes everything hasn't loaded and it can't find comments. In this case, escape the error dialog, press CONTROL+END to jump to the bottom of the page, then up arrow and it's usually actually at the comments - YouTube seems to load the video and then related / suggested videos, then after that the comments, and sometimes it doesn't load the comments until you actually scroll down to the bottom of the page to get to them. Kind regards Quentin. On Wed, Apr 14, 2021 at 12:10 PM Robert Mendoza <lowvisiontek@...> wrote: Not sure if this problem occurs with the NVDA but I will give a shot to discuss here. Does anyone could noticed in the youtube website the comment section is not displaying. Well, this is the second time I noticed this and observing and tried to shift to different browser but no luck. -- Quentin Christensen Training and Support Manager Web: www.nvaccess.org Training: https://www.nvaccess.org/shop/ Certification: https://certification.nvaccess.org/ User group: https://nvda.groups.io/g/nvda Facebook: http://www.facebook.com/NVAccess Twitter: @NVAccess
|
|
Re: Error in Firefox
I tried reinstalling firefox. I also tried running a temp copy of NVDA. I also reinstalled NVDA. None worked. I tried with Narrator and that will not even let me browse, so I think this must be some kind of system file issue. I ran file check and dism no errors. I’m trying windows restore.
WebFriendlyHelp.com: Makin’ your tech life easy!
From: hurrikennyandopo ...
Sent: Tuesday, April 13, 2021 9:04 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox
Hi
Which did you try re installing the copy of nvda or the browser?
So the resetting of the browser did not work?
Did you try the portable copy of nvda to see if it works correctly with the browser some times it is better to grab a new copy of nvda then try it as a temp copy to see if you get the same results. If it works correctly in the browser, then I would do a reset of nvda. But when you do that make sure that you turn it off then back on and get the message you get when you first install nvda.
There is a setting in the nvda menu that will set it back to factory defaults.
Gene nz
On 14/04/2021 2:50 pm, Casey Mathews wrote:
|
|
Re: Error in Firefox
hurrikennyandopo ...
Hi
Which did you try re installing the copy of nvda or the browser?
So the resetting of the browser did not work?
Did you try the portable copy of nvda to see if it works correctly with the browser some times it is better to grab a new copy of nvda then try it as a temp copy to see if you get the same results. If it works correctly in the browser, then I would do a reset of nvda. But when you do that make sure that you turn it off then back on and get the message you get when you first install nvda.
There is a setting in the nvda menu that will set it back to factory defaults.
Gene nz
On 14/04/2021 2:50 pm, Casey Mathews
wrote:
|
|
Re: Error in Firefox
Thanks, that didn’t work. I even tried reinstalling it. I also tried the com fixing tool, restarted and tried again. Nothing.
WebFriendlyHelp.com: Makin’ your tech life easy!
From: hurrikennyandopo ...
Sent: Tuesday, April 13, 2021 7:20 PM To: nvda@nvda.groups.io Subject: Re: [nvda] Error in Firefox
Hi
I have not had to do this for a while as when you have troubles with the browser and this sounds like the same I had a few years back but resetting the browser fixed the problem in those cases. This was both in fire fox and recently in google browser it would speak stuff only if I tabbed but no browse mode etc and in the case of fire fox you could not interact with the browser apart from the menus.
the following page if you do go down this track can be fund at https://malwaretips.com/blogs/reset-firefox-settings/ try some of the other steps from other people and also try another copy of nvda if you have it on a portable to see if the same problem happens and if it does I am guessing the browser is the problem but if it works well with the portable on fire fox then have to look closer at nvda.
As suggested also use the comm tool in nvda and see if that fixes the problem. it is all ways after doing that shut down the pc completely not sleep mode then start up the pc.
if it was saying that in all the browsers and also down on the running application area there might be another way but it sounds like it is not this other problem.
Gene nz
On 14/04/2021 12:36 pm, Casey Mathews wrote:
|
|
locked
Re: New NVDA user who's looking for Eloquence
Quentin Christensen
Hi Maria, Everyone has pretty much answered your question - actually although Code Factory was mentioned, the link wasn't given, you can find the page here: https://codefactoryglobal.com/app-store/voices-for-nvda/ The other thing I was going to add was if you are a new NVDA user and have come to us from Jaws - firstly welcome! - and secondly, you might find the guide to switching from Jaws to NVDA helpful: https://github.com/nvaccess/nvda-community/wiki/SwitchingFromJawsToNVDA Otherwise, if you encounter any other questions or issues in getting setup and running with NVDA, please do let us know. Kind regards Quentin.
On Wed, Apr 14, 2021 at 6:27 AM Maria Reyes <sassyblindgirl@...> wrote:
--
Quentin Christensen Training and Support Manager Training: https://www.nvaccess.org/shop/ Certification: https://certification.nvaccess.org/ User group: https://nvda.groups.io/g/nvda Facebook: http://www.facebook.com/NVAccess Twitter: @NVAccess
|
|