[jawsscripts] Re: Where to find the language-specific strings for UIA ControlType IDs?

  • From: Bob <temp@xxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 19 Oct 2018 19:28:41 +0100

Udo

Depending on the element there are lots of ways you can trigger a button. 

Element.GetInvokePattern.Invoke
Or
Element.GetIAccessiblePattern.DoDefaultAction
Are two possible methods. 

If you have to you can get the position on screen with 
Element.BoundingRectangle.Top etc  and use ClickAtPoint to click it. 

There is also something with Element.GetSelectionItemPattern if the element 
supports it but I can’t remember that one off the top of my head. 

Bob


On 19 Oct 2018, at 19:07, Udo Egner-Walter <udo.egner-walter@xxxxxx> wrote:

Hi Bob,

your suggestion was right, it works great :-)

Thanks again very much!

But I have another problem and wonder, if you can help again. In my 
script I retrieve a list of objects. After selecting an object I want to 
focus the object on the screen. First I checked with 
oElement.IsKeyboardFocusable and if true set the focus with 
oElement.SetFocus(). It works great except on ribbons. I can focus the 
object in the ribbon and JAWS tells me to activate it with SPACE or 
ENTER, but nothing happens. I checked with a function. I don't know the 
name exactly but its like IsRibbonActive), but this returns always false.

Do you have any ideas about this?

Udo





Am 18.10.2018 um 19:32 schrieb Bob:
Udo

If your OS is in German does Element.LocalizedControlType not give taste?

Bob


On 18 Oct 2018, at 18:09, Udo Egner-Walter <udo.egner-walter@xxxxxx> wrote:

Hello,

can someone please tell me, where to find the language-specific strings
for UIA ControlType IDs, defined in UIA.jsh? I mean
"UIA_ButtonControlTypeId" = "Button" in English = "Schaltfläche" in
German. But where can I find the proper German translations. I searched
my JSH and JSM files, but couldn't find them. Can someone please help me?

Thanks in advance

Udo

__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts



__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: