Re: How to make global plug-in when NVDA starts


Daniel Gartmann
 

 

Hi,

 

Well, when I look in core.py, the only reference to postNvdaStartup Is this line:

postNvdaStartup = extensionPoints.Action()

 

Where would I put the event?

 

Daniel

 

Fra: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> På vegne af Joseph Lee
Sendt: 26. april 2020 11:01
Til: nvda-addons@nvda-addons.groups.io
Emne: Re: [nvda-addons] How to make global plug-in when NVDA starts

 

Hi,

Until recently there was no easy way to do so apart from queueing the message via wx.CallAfter/CallLater from a global plugin’s constructor (__init__ method). This has changed somewhat in that global plugins (and to some extent, app modules) can listen to a startup action (core.postNvdaStartup.register(event)), although queueing is still a better method (you don’t want to let NVDA say things until it is fully ready i.e. it is running the main loop).

Cheers,

Joseph

 

From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> On Behalf Of Daniel Gartmann
Sent: Sunday, April 26, 2020 1:54 AM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] How to make global plug-in when NVDA starts

 

 

Hi,

 

I am trying to make NVDA read some information every time it starts up. I am coming from JAWS where you would put this into the AutoStartEvent in the MyExtensions file 😊.

 

What should I look into when doing this in NVDA?

 

Thanks for your help.

 

Daniel

 

Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.