Chip and Kevin,

    this was the simple test I did at the time. this also works in the MS 
Word in which the name is what you get when entering the ribbon and the role 
is what the object is like a drop down or something.
It works nice for ribbons but of course very limited but at least a quick 
test.
I placed the parens around the name and role i the second sub to attempt to 
cut down long phrases and break it up to who goes with who.

    This first sub I toggle on and off using a hotkey when wanting to test 
things.

Sub Activate_Read()
 'Manually toggle a ribbon style program if it is the active application.
 If myMSAAConnection = 0 Then
  set oActiveWindow = activeWindow.overlap
  dim oTest
  Set oTest = ActiveWindow.Children
  Set oActiveChildren = oActiveWindow.children
  ' Filter MSAA events for only this process
  myMSAAEvents.Process = oActiveWindow.Process
  On Error GoTo 0
  ' handle all MSAA event types
  myMSAAConnection = ConnectObject( myMSAAEvents, "myMSAA_")
  Silence
  Speak " Ribbon Monitoring Is Turned On! "
 Else
  Disconnect myMSAAConnection
  myMSAAConnection = 0
  On Error Resume Next
  Set oActiveWindow = Nothing
  Set oTest = Nothing
  Silence
  Speak " Ribbon Monitoring Is Shut Off! "
 End If
End Sub

Sub myMSAA_OnObjectFocus( oFocused)
' event handler
' called when MSAA signals some text is focused.
 On Error Resume Next
 If Not oFocused Is Nothing Then
  ' sort out what to speak and when.
  Speak oFocused.Name
  Speak " Control ID: ("
  Speak oFocused.ChildID
  Speak ") "
  If Not oFocused.Role Is Nothing Then
   Speak " Role: ("
  Speak oFocused.Role
  Speak ") "
  End If
  Set oRole = Nothing
 End If
 On Error Goto 0
End sub

Sent: Wednesday, August 03, 2011 7:42 PM
Subject: RE: to the scripting class: a possible project


good for you bruce.  working in immediate mode I got some results like this,
but didn't have the time I wanted to work with it.

I too sent them a message, both telling them of the issues, and asking for a
longer demo so I could do more work on it, and got no response on my
request.

Chip


-----Original Message-----
From: BT [mailto:[email protected]]
Sent: Wednesday, August 03, 2011 4:10 PM
To: [email protected]
Subject: Re: to the scripting class: a possible project


Hi Kevin,

    Yes, so I thought, the so called demo of 30 days lasted a week. But, I
did write a short app to display the field data and was easy to do using the
focus event.
    It crashed only at the Home ribbon when attempting to tab into it. I
sent a message to them on it and what I was using. I have not heard back
after they forwarded the issue to there research department.

    The ribbon is easy to move around in capturing the data and speaking the
text fields.
    What I did is no where perfect on it, but it worked at least saying
which tab you were in. If I had done more event checks I probably could have
gotten more information but did not have the time to do it.
    I had posted what I did on the list back then. At the moment that
program is not loaded any more since it's free time expired.

        Bruce

Sent: Wednesday, August 03, 2011 3:57 PM
Subject: Re: to the scripting class: a possible project


HiBruce:
Did you dwnload the 30-day demo?
Kevin Huber


On 7/13/11, BT <[email protected]> wrote:
> Hi Chip,
>
>     I know, I downloaded all 500 megs of it as I posted this message.
> So, anyone wanting to download it, expect a very long wait.
>
>         Bruce
>
> Sent: Tuesday, July 12, 2011 8:55 PM
> Subject: RE: to the scripting class: a possible project
>
>
> It's in his email, but you do have to fill out a form for a trial
> version, and the company emails you the download link.
>
> Chip
>
>
> -----Original Message-----
> From: BT [mailto:[email protected]]
> Sent: Monday, July 11, 2011 11:11 PM
> To: [email protected]
> Subject: Re: to the scripting class: a possible project
>
> OK, now waiting for the email to the link. A first time using the
> Ribbon Technology to resolve issues. It will be an interesting class
project.
>         Bruce
>
>
> Sent: Monday, July 11, 2011 8:50 PM
> Subject: to the scripting class: a possible project
>
>
> Hi all,
>
> Kevin posted the message below on the GW info list; since we've been
> discussing a possible software program which isn't currently
> accessible, which we might use as a class project to show how to make
> it accessible, I thought I'd share this message of Kevin's here on the
> scripting list, in case anyone has the time to take a look at it.
>
> We do need some software program as a teaching tool, but suggestions
> for something which would actually be used by many window-eyes users
> would be appreciated from anyone, as that would be really great if our
> class ended up with a generally useful app.
>
> thanks.
>
> Chip
>
>
>
> -----Original Message-----
> From: Kevin Huber [mailto:[email protected]]
> Sent: Monday, April 18, 2011 1:13 PM
> To: gw-info
> Subject:
>
> Hi:
> I am testing an application called NVIVO for a client of mine.  A
> thirty day demo of this application can be downloaded from:
> www.qsrinternational.com.  This application has a ribbon, much like
> the ribbons in MS Office7 or 10.  The problem is that Window-eyes will
> not speak the items on that ribbon when you press the Alt key, but
> JAWS does speak the items on the ribbon and you can tab or arrow
> around the ribbon and it will speak the items when they are
> highlighted.
> The other thing you might need to know about this application is that
> when it is first opened, there are three buttons, on which both
> Window-eyes and JAWS have focus, they are, create a New project, Open
project and Help..
> When you press the alt key, while you are in JAWS, the focus seems to
> go to the Ribbon but when you press the Alt key in Window-eyes, the
> focus will not leave those three buttons.
> Does anyone have any idea how to fix this problem and why this ribbon
> is recognized by JAWS and not Window-eyes?
> Kevin Huber
> If you reply to this message it will be delivered to the original
> sender only. If your reply would benefit others on the list and your
> message is related to GW Micro, then please consider sending your
> message to [email protected] so the entire list will receive it.
>
> GW-Info messages are archived at http://www.gwmicro.com/gwinfo. You
> can manage your list subscription at http://www.gwmicro.com/listserv.
>
>

Reply via email to