[jawsscripts] Re: key press sample

  • From: "Bryan Schulz" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "b.schulz" for DMARC)
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 9 Nov 2020 08:51:44 -0600

Hi,

NO, I am grateful for those who will provide a simple answer that helps someone 
keep a job when the manager grows tired of allowing time for trial and error 
even with the quote rehab engineer writing the scripts.
I never said save my ass because I don't want to spend time to learn to create 
jaws scripts!
Bryan


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

I agree, but those on this list whom have taken the time to work through the 
manual and similar resources are also just as busy with similar deadlines. One 
of the conclusions I'm drawing from this exchange is that it seems as though 
some believe, "Hey, all of you get on it because I need this problem solved 
because I'm busy and my own time is more valuable." I hope I've reach an 
incorrect conclusion. ðŸ˜Š  

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Bryan Schulz (Redacted sender "b.schulz" for DMARC)
Sent: Sunday, November 8, 2020 3:58 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: key press sample

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

__________ 

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: