Thanks, I can try that as well.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Udo Egner-Walter
Sent: 05 January 2021 11:08
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Script Error
Hi Steven,
you can try TypeKey ("Enter"), for example:
<Code Begin>
if (JAWSFindNext ()) then
SayLine()
TypeKey ("Enter")
Pause ()
TpeKey ("Enter")
else
SayMessage (OT_ERROR, "Not Found", "Not Found") endIf EndScript
<Code End>
Hope this helps
Udo
Am 05.01.2021 um 11:55 schrieb HICKS@xxxxxxxxxxxxx:
Hi friends,
Can anyone see my error with this file please?
Basically if the 1111 string is found, I need the script to press return
then pause and then press another return.
This takes it in to the edit box, for some reason, in the app, you have to
press enter twice.
When I take off the first ; line, the script produces an error saying that an
if statement must be ended with an enf if statement.
It execustes the first line of the script which is the sayline with no
problems.
if (JAWSFindNext ()) then
SayLine()
;[enter]
;pause()
;[enter]
else
SayMessage (OT_ERROR, "Not Found", "Not Found") endIf EndScript
Steven Hicks
Servicedesk 2 Team Leader
Tel: 01209 318620.
Mobile: 07393 792548.
EMail: Steven.Hicks@xxxxxxx
**********************************************************************
**********************************************
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 relation to 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 other accredited email services.
For more information and to find out how you can switch,
https://portal.nhs.net/help/joiningnhsmail
__________
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts