[jawsscripts] Re: Writing a script to access find out the elements on screen

  • From: jason beal <bealjason2@xxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 3 Oct 2018 08:15:44 +0100

Hello 
I have a webapplication that is write in java when I look that it I could get 
jaws to read the text with in the window by switching jaws cursor 

But how would I put all of in the correct format so it would be in link and 
headings

Kind regards
 

Sent from Mail for Windows 10

From: Steve Spamer
Sent: 30 September 2018 14:34
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

http://dlee.org/bx/jfw_bx.exe

-----Original Message----- 
From: Jeremy Richards
Sent: Sunday, September 30, 2018 11:56 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

Hi,

I have read all the material on this webpage but it isn't clear where to 
download this BXTool.

Can you possibly provide the direct download link for the latest version of 
JAWS 2018. I know it seems like I'm being lazy, but I really can't determine 
which is the correct download link for Windows 10 64bit.

Thank you,

JR

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Steve Spamer
Sent: Sunday, September 30, 2018 3:32 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

http://dlee.org/bx/
Best Steve.

-----Original Message-----
From: Jeremy Richards
Sent: Sunday, September 30, 2018 11:17 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

Where can one find Doug's BXTools?

JR

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Steve Spamer
Sent: Sunday, September 30, 2018 2:54 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

I would recommend using Doug's BXTools and see what information is available 
to you first.  It wil give you a better idea on how to tackle this problem.
Best steve.

-----Original Message-----
From: Jeremy Richards
Sent: Sunday, September 30, 2018 3:58 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

Hi Walter,

This 4th suggestion seems like one I can actually employ. The tabs within 
the application of interest are also at the bottom of the screen as you have 
described.

How do I find the text of the tab? When I use the tab key jaws tells me it’s 
the White pages tab. When I use the JAWS cursor to read all over the screen 
I'm also told it’s the White Pages tab. I'm wondering if the JAWS script 
will read this tab's code as something else.

Thank you for conveying so many great ideas and imparting your deep 
scripting knowledge. I wish I were much more skilled at writing scripts so 
you would end up with the feeling you actually helped someone accomplish an 
entire scripting goal. :)

JR

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Udo Egner-Walter
Sent: Saturday, September 29, 2018 4:42 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Writing a script to access a tab

Hallo JR,

here I'm again.

4. You can use "FindString", if you know the text of the tab. Here's the
text in FSDN.chm: "FindString searches for a string of text in a specified
window. If the text is found, then the JAWS cursor is placed at the
beginning of the text string". In Param 3 of the function you can write
"S_BOTTOM" if the tabs are at the bottom

Hope this helps

Udo


Am 29.09.2018 um 13:35 schrieb Udo Egner-Walter:

Hallo JR,

it I had to solve the problem, I would do the following:

1. Activate the tab and use "GetWindowClass" and "GetControlID" to
determine the window type and if available the ControlID. If you got
the class and ControlID, you can activate the window later with
"FindWindowWithClassAndID"

2. You can also activate the tab and use "GetWindowTyp" to find the
window type. Later you can activate the tab with "FindWindowByType".
If there are more then one window with this type you can change the
first parameter of the function. For example you can find the first
window of a type with "myHandle = FindWindowByType
(GetAppMainWindow(GetFocus()), TypeNumberOfTheWindow)". If the first
window isn't the right window than you can search further with
"myHandle = FindWindowByType (myHandle, TypeNumberOfTheWindow)"

3. If one of 1 and 2 don't work, you can also use MSAA or UIA to find
the right object. But I'm relatively new to MSAA und UIA and can't
give you proper advise.

I hope this helps a little

Udo




Am 29.09.2018 um 13:16 schrieb Jeremy Richards:
Hi all,

I'm working with an application for which I would like to use a
hotkey to quickly switch between tabs.

This application has about 8 tabs at the bottom of the screen.

I want to write a script which will allow me to quickly use a
ControlShif hotkey to move from tab 1 over to tab 5.

As is I have to manually keyboard to these tabs or use the JAWS
cursor, which has now become a pain because I'm now using this
database on a daily basis.

How do I use JAWS to find the name of each tab within the application
to then create the script?

I've thought about writing the script using keyboard commands such as
PageDown, LeftArrow, LefftArrow, SayLine, Click, but this seems very
elementary, so I'm looking for a more elegant way of quickly
switching to this location on the screen. Heck, even I'm really
embarrassed about taking this approach but I may have to if I can't
find something better. :)

Absolutely all help will be greatly appreciated. :)

Thanks!

JR



__________�

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

__________

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 ;

__________�

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




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

__________�

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

Other related posts: