[jawsscripts] SelectAFormField

  • From: "Mark Matthews" <mark.matthews53@xxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 18 May 2008 17:01:35 +0100

Hi folks,

Not sure if anyone can help me with this one, but I'm attempting to modify 
the SelectAFormField script to inform the user that the dialogue is already 
active if they attempt to activate it a second time. At the moment it 
reports that no form fields are present, which after all is a bit of an 
untruth. It would be nice if we could get the exact problem spoken to us. 
The modified script follows:

Script SelectAFormField()
If ! IsVirtualPcCursor ()
&& ! InFormsMode then
PerformScript ReformatDocument ()

ElIf GetWindowClass (GetCurrentWindow ()) =="ListBox" Then
SayString ("dialogue already active.")
Else
PerformScript SelectAFormField()
Let gINoSpeakFormFields = TRUE
EndIf
EndScript


I've tried substituting the GetWindowClass with the IfDialogActive function, 
but alas to no avail. Any input greatly appreciated!

Regards,

Mark

Mark Matthews
Cardiff, Wales UK

Email:   Mark.Matthews53@xxxxxxx
MSN:   mark.matthews53@xxxxxxxxxxxx
Skype:   MMatthews1981
Mobile:   07800 561442 

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

Other related posts:

  • » [jawsscripts] SelectAFormField