[audacity4blind] Audacity Window Structure?

  • From: "Gary Campbell" <campg2003@xxxxxxxxx>
  • To: <audacity4blind@xxxxxxxxxxxxx>
  • Date: Sun, 26 Aug 2012 19:49:22 -0600

Hi,

 

I am working on a script to make JAWS work better with Audacity.  To do that
it is helpful to be able to identify where the focus is in the program.  In
Audacity 2.0.0 I observe the following (partial) window structure:

(App window)

  (statusbar)

  ToolDock

    tool bars...

  ToolDock

    Selection bar

  VerticalRuler

  Panel

    track Panel

    scrollbar

    scrollbar

 

(Windows are mostly window names.  Window names are a JAWS construct-- I
don't know how they come up with them.  Often I think it is the window text,
I don't know what it uses for containers like toolbars, maybe the MSAA
object AccName property.)

 

However, I haven't tried many configurations of Audacity.

 

I am using the window name and the position (2nd sibling at that level) to
identify the window containing the toolbars.  (So if the grandparent of the
focused window has window name tooldock and it is the 2nd sibling, it's a
toolbar control.)  Is there someone on this list who is familiar with the
Audacity source who can tell me if I can depend on this window structure?
Is it likely to change?  I'd rather do some more work to identify the
toolbars now than have it break for someone who has Audacity set up a little
differently than I do.

 

Thanks.

 

Gary Campbell

 

Other related posts:

  • » [audacity4blind] Audacity Window Structure? - Gary Campbell