[nvda-addons] Re: Watching A Window Without Using Focus or Nav Object

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>
  • Date: Tue, 10 Jun 2014 07:01:04 -0700

Hi,

Get to know Python first, as it tells you things you need to comprehend the
source code (especially if you plan to work with NVDA core code).

Cheers,

Joseph

 

 

From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Tuesday, June 10, 2014 6:50 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Watching A Window Without Using Focus or Nav
Object

 

Hi,

Maybe I'm too mujch of a beginner to try this. I'm not confident that I can
read the source and figure out what to use. Maybe I should study Python
more.

 

Thanks for trying.

 

Jim

 

 

From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Joseph Lee
Sent: Tuesday, June 10, 2014 9:25 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Watching A Window Without Using Focus or Nav
Object

 

Hi,

As a follow-up: you asked which modules to import. This depends on what you
want NVDA to do for you in your add-on (or in the core code). If you want to
play tones, you'd import tones module. If you want to work with UIA objects
(Windows Vista and above, but works properly with Windows 8.x), you'd import
needed objects from NvDAObjects.UIA. If you want to deal with touch input
(like I do for my add-ons), you'd import touchHandler module.

Cheers,

Joseph

 

 

From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Tuesday, June 10, 2014 6:02 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Watching A Window Without Using Focus or Nav
Object

 

Hi Joseph,

Let me try to translate. I should use one of these, and then check the
characteristics of the window to see if it is the one I want to know about.
Is that right?

 

And also, how do I figure out what to import? I'm sorry to ask, but maybe
this is over my head, as a beginning Python guy. I'm also on the beginners
list that you are contributing to.

 

Thanks.

 

Jim

 

 

From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Joseph Lee
Sent: Tuesday, June 10, 2014 8:49 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Watching A Window Without Using Focus or Nav
Object

 

Hi James,

Depends on which control it is. Try nameChange, valueChange, stateChange (in
that order) until you get expected result (likely valueChange should help
the most).

Cheers,

Joseph

 

 

 

From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Homme, James
Sent: Tuesday, June 10, 2014 5:41 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Watching A Window Without Using Focus or Nav Object

 

Hi,

What event or events would I want to use to watch a window when neither
focus, nor the caret, nor the nav object is in the window?

 

Thanks.

 

Jim

 

 

 

  _____  


This e-mail and any attachments to it are confidential and are intended
solely for use of the individual or entity to whom they are addressed. If
you have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
keep, use, disclose, copy or distribute this e-mail without the author's
prior permission. The views expressed in this e-mail message do not
necessarily represent the views of Highmark, its diversified business, or
affiliates.

Other related posts: