[jawsscripts] Re: key press sample

  • From: "Bryan Schulz" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "b.schulz" for DMARC)
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 8 Nov 2020 17:58:11 -0600

Hi,

Yea, true but sometimes you don't have hours or day(s) to figure out what
code is needed to keep a job when you're not very familiar with scripting.
Thanks.
Bryan


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of jeremy.richards7@xxxxxxxxx
Sent: Sunday, November 8, 2020 12:37 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: key press sample

Yes, you're very correct. All this basic info can be found by reading the
Freedom Scientific Basics of Scripting Manual. 
https://support.freedomscientific.com/Content/Documents/Other/ScriptManual/0
1-0_Introduction.htm

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Jonathan Cohn
Sent: Saturday, November 7, 2020 3:52 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: key press sample

Hello,
If a key is bound to a jaws function (like  the space key in a browser
virtual cursor mode), you can determine the script that is being executed by
entering keyboard help, and then pressing the key you are interested in
three times. JAWS will then say and spell the script that is linked to that
key.
Jonathan
                Best wishes,

Jonathan Cohn



On Nov 6, 2020, at 22:44, Bryan Schulz (Redacted sender "b.schulz" for
DMARC) <dmarc-noreply@xxxxxxxxxxxxx> wrote:

Hi,

What I found so far is  much faster.
I just threw 15 tab keys into a script block and physically press 
space to open the list when focus lands on the list.
Thanks,
Bryan


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
<jawsscripts-bounce@xxxxxxxxxxxxx> On Behalf Of Udo Egner-Walter
Sent: Friday, November 6, 2020 2:25 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: key press sample

Hi Bryan,
as fas as I know there's no function in JAWS to press a key and hold 
it down until another function releases the key.

To send a keystroke to the app you can use: 

TypeKey ("Space")

With listbox do you mean a combobox opening a list? 

You can try to use domain specific scripting to solve the problem. 
Here's an introduction from Freedom Scientific:

https://doccenter.freedomscientific.com/doccenter2/doccenter/rs25c5174
6a0cc/
DomainScripts/02_DomainScripts.htm
<https://doccenter.freedomscientific.com/doccenter2/doccenter/rs25c517
46a0cc
/DomainScripts/02_DomainScripts.htm>

You can try to find the control by using the GetDocumentXML () 
function.You get a XML file with attributes and values. Search for the 
right attribute and value. Then use 
PerformActionOnElementWithTabAndAttribute () with one of the following
actions:

Action_setFocus
Action_makeVisible
Action_doDefaultAction
Action_leftMouseClick,
Action_rightMouseClick

So you can for example set the focus and then use TypeKey ("Space"). 
Or you can do a left mouse click at the element. 

Perhaps you have to try different attributes and values or different 
actions.

Hope this helps, good luck
Udo



Am 06.11.2020 um 03:49 schrieb Bryan Schulz (Redacted sender "b.schulz"
for DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

Hi,


On the web app, a list box opens when I hit the space key.

I didn't find spaceKey ().



Would anyone have a sample of:

pressKey,

releaseKey, and

playKey?



How would someone auto open a list box?

Thanks,

Bryan





__________�

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

Other related posts: