[jawsscripts] Re: Scripting A Web Application

  • From: "HICKS, Steven (ROYAL CORNWALL HOSPITALS NHS TRUST)" <steven.hicks@xxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 9 Dec 2016 07:43:50 +0000

Hi,
I Place an EndScript at the bottom but the compiler keeps saying that it is an 
unexpected word.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Artur Räpp
Sent: 08 December 2016 21:29
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Scripting A Web Application

Hi,

Here it is

-copied text-
Script findWordGeneral ()

var
string strFindText

let strFindText = "general"

SetJAWSFindText (strFindText)

 JAWSTopOfFile ()
; search from top of the file
if (JAWSFindNext ()) then
SayLine()
else
SayMessage (OT_ERROR, "Sorry, i can't find it!", "Not Found") endIf EndScript

- end of copied text -

Artur
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of HICKS, Steven ;(ROYAL 
CORNWALL HOSPITALS NHS TRUST)
Sent: Thursday, December 8, 2016 10:24 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Scripting A Web Application

Thanks, could you give me an example of how to use the find text if I am 
looking for the word general for example?

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Artur Räpp
Sent: Thursday, December 8, 2016 7:18 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Scripting A Web Application

Hi,

Yes you can do all 3 things.
Find something is the easiest. Use  functions: JAWSTopOfFile, SetJAWSFindText 
and JAWSFindNext. Maybe you need something to stop speech too.

First and third questions are more complicated.   I have used for third problem 
function getIEDocument  and after that  DOM functions do get the needed 
information

By the way. There is JAWS command show list of lists JAWS key+ctrl+l. Does that 
command help you?

HTH
Artur

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of HICKS, Steven ;(ROYAL 
CORNWALL HOSPITALS NHS TRUST)
Sent: Wednesday, December 7, 2016 10:27 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Scripting A Web Application

Hi friends,
I am trying to make a web application by HPE called service anywhere a little 
more friendly with JAWS and have a couple of questions that may be helped with 
a script if someone is able to help please?

1.  At the top of the screen, there are a list of a few tabs, these are in a 
list as I think that JAWS has re-formatted the page.  Is there a way that I can 
list the tabs or even find a way to list them like you can with insert f7 to 
list the links?

2.  The second question does relate to the first really, is it possible to 
write a script to search the screen for some texts and then place the vertual 
cursor on it and if so, could someone possibly give me an example to test 
please?  It would need to search from the top of the screen really.

3.  Is it possible to add a hotkey to a place monitor with JAWS or in some way 
script it so that I can just call it with a key stroke?

Many thanks in anticipation for any help.



********************************************************************************************************************

This message may contain confidential information. If you are not the intended 
recipient please inform the sender that you have received the message in error 
before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take 
any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff 
in England and Scotland NHSmail is approved for exchanging patient data and 
other sensitive information with NHSmail and GSi recipients NHSmail provides an 
email address for your career in the NHS and can be accessed anywhere For more 
information and to find out how you can switch, visit 
www.nhsdigital.nhs.uk/nhsmail

********************************************************************************************************************
__________

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 message may contain confidential information. If you are not the intended 
recipient please inform the sender that you have received the message in error 
before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take 
any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff 
in England and Scotland NHSmail is approved for exchanging patient data and 
other sensitive information with NHSmail and GSi recipients NHSmail provides an 
email address for your career in the NHS and can be accessed anywhere For more 
information and to find out how you can switch, visit 
www.nhsdigital.nhs.uk/nhsmail

********************************************************************************************************************
__________

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 message may contain confidential information. If you are not the intended 
recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take 
any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff 
in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information 
with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be 
accessed anywhere
For more information and to find out how you can switch, visit 
www.nhsdigital.nhs.uk/nhsmail

********************************************************************************************************************
__________�

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

Other related posts: