Hi, Should have known about those differences... Cheers, Joseph ----- Original Message ----- From: Daniel Barich <barichd@xxxxxxxxxx To: nvda-addons@xxxxxxxxxxxxx Date sent: Tue, 28 May 2013 08:25:15 -0400 Subject: [nvda-addons] Re: a bit of helpwouldn't you use event_foreground instead? event_gainFocus is called every
time a control within the window gains focus.On Tue, May 28, 2013 at 12:14 AM, Joseph Lee <joseph.lee22590@xxxxxxxxx>wrote:
Hi Kyle, Which methods did you try? One of the NVDA IRC participants told me to try: import appModuleHandler import config # App Module code: def event_gainFocus(): if speakTypeChars == true: keyoff = yesSo in effect, you would have a global var inside the appModule that will
set this setting to off as long as the app is in focus. Cheers, Joseph ----- Original Message ----- From: "Kyle Borah" <kgborah@xxxxxxx To: <nvda-addons@xxxxxxxxxxxxx Date sent: Mon, 27 May 2013 19:50:04 -0500 Subject: [nvda-addons] Re: a bit of help I realize this.My question is can I make an app module such as the sleep function app
moduleâ?¦ import appModuleHandler class AppModule(appModuleHandler.**AppModule): sleepMode = TrueBut for the speak typed characters function. I have tried many ways of doing this and they have all failed. This would have to override the
global function that the NVDA +2 is set too.From: nvda-addons-bounce@freelists.**org<nvda-addons-bounce@freelists.o
rg>[mailto:nvda-addons-bounce@**freelists.org <nvda-addons-bounce@xxxxxxxxxxxxx>] On
Behalf Of Daniel Barich Sent: Monday, May 27, 2013 7:18 PM To: nvda-addons@xxxxxxxxxxxxx Subject: [nvda-addons] Re: a bit of helpIf you look at the script in globalCommands.py for NVDA + 2, you can see the code for doing this programmatically. However, it is a global setting that affects all applications, whereas sleep mode is set separately for
each application. On Mon, May 27, 2013 at 6:46 PM, Shane Pastrovich < stormwatcher77@xxxxxxxxxxx> wrote:Yes. You can press NVDA and the 2 key to toggle on and off the speaking
of typed characters. I hope this helps. Shane On 5/27/2013 1:29 PM, Kyle Borah wrote:I was wondering, I know that the sleep function is something that can be turned on and off via an app module. Is the speek typed character the same
way? like the sleep function. ------------------------------**------------------------------**- --- NVDA add-ons Central: A list for discussing NVDA add-ons To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.To unsubscribe, send an email with the subject line of "unsubscribe" (without quotes) to nvda-addons-request@freelists.**org<nvda-addons-request@freelists
.org .If you have questions for list moderators, please send a message to
nvda-addons-moderators@**freelists.org<nvda-addons-moderators@fre elists.org .Community addons can be found here: http://addons.nvda-project.org
---------------------------------------------------------------- NVDA add-ons Central: A list for discussing NVDA add-ons To post a message, send an email to nvda-addons@xxxxxxxxxxxxx. To unsubscribe, send an email with the subject line of "unsubscribe" (without quotes) to nvda-addons-request@xxxxxxxxxxxxx. If you have questions for list moderators, please send a message to nvda-addons-moderators@xxxxxxxxxxxxx. Community addons can be found here: http://addons.nvda-project.org