[jawsscripts] Script Error

  • From: "HICKS, Steven" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "steven.hicks" for DMARC)
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 21 Feb 2020 07:35:10 +0000

HI all,
The script below, it keeps saying an if needs to be terminated by an end if but 
I can't figure out what is going on, could anyone provide any suggestions 
please?
I Just added the ifsamescript statement.


Script findWordCallReferenceSearch ()
var
string strFindText
let strFindText = "111111"
SetJAWSFindText (strFindText)
JAWSTopOfFile ()
; search from top of the file
if (JAWSFindNext ()) then
SayLine()
IfSameScript() then
End If
else
SayMessage (OT_ERROR, "Not Found", "Not Found")
endIf
EndScript



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

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

Other related posts: