[nvda-addons] Re: Developing Addons - The best way to get started?

  • From: "Damien Sykes-Pendleton" <damien@xxxxxxxxxxxxxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>
  • Date: Fri, 15 Apr 2016 13:58:09 +0100

Hi,
This is seeming to be a much more complicated job than I originally thought - I've still no idea how to access various objects in code, let alone try and apply logic about object positioning, ordering and/or hierarchies.
Kind regards,
Damien.
-----Original Message----- From: James Scholes
Sent: Friday, April 15, 2016 1:32 PM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Developing Addons - The best way to get started?

Replies inline.

Damien Sykes-Pendleton wrote:

Very interesting. So the log tells you everything you need to know? If
so that sounds a lot easier than I expected.

NVDA+F1 is designed for this exact purpose - showing information about
the current navigator object in the log viewer.

Still, all your code snippet has to do is navigate to the next object.
The object I'm interested in is two objects above in the hierarchy. The
listbox focuses on the list item, then you go up to the listbox, then up
to the window above that, all the summary information is on that level,
but it's not always in the same place consistently. It all depends on
whether the person has a relationship to yourself, how many marriages
they have, how many children they have etc.

It makes no difference, really.  I didn't say the snippet would be a
copy/paste affair, just that it might help.  If you can get to the
object using object navigation, then your add-on can get to it also.
And if you can apply some logic in your mind or on paper about what
objects appear at what times, then you can also express that logic in code.
--
James Scholes
http://twitter.com/JamesScholes
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: //www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts: