[jawsscripts] Re: General Script Query

  • From: "Bissett, Tom" <tom.bissett@xxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 4 May 2016 10:13:59 -0400

You may want to put in a pause or delay to give the system time to process the 
find and click before tabbing.  
Tom Bisset
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Hicks Steven ;(ROYAL 
CORNWALL HOSPITALS NHS TRUST)
Sent: Wednesday, May 04, 2016 10:06 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] General Script Query

Hi friends,
Not sure if anyone is able to help with the script below but it all seems to 
work fine, it locates the text on the screen and then double clicks but it 
doesn't seem to carry out the three tab press once it has moved to the location 
but when the script is complete, I can manually tab the three times as 
required, does anyone have any ideas please?
I Have commented out the three {tab} lines for now as they didn't do anything 
anyway.
Many thanks in anticipation,


Script SendMessage ()
If FindString(GetFocus(), "Send message", S_Top, S_Unrestricted) then 
SayString("Send message")
LeftMouseButton()
LeftMousebutton()
;{tab}
;{tab}
;{tab}
Else
SayString("Match not found")
EndIf
PCCursor()
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 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

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

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: