[jawsscripts] DlgSelectScriptToRun function problem

  • From: Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx>
  • To: JAWSScripts List <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 04 Nov 2013 07:21:04 +0100

Hi guys,

I need some help in scripting DlgSelectScriptToRun function. This 
function displays a dialogbox and the list on it can be filled with 
items, which could start directly scripts by pressing spacebar. My 
problem is when I start a script from this list, which uses InputBox 
function, then after terminating this script I can not display the 
script list dialog again, because I get the message that one of the JAWS 
dialogs is opened and until closing it I can't display a new one again.

Here is my script:

Script ShowScriptSelector()
; Displays the script chooser dialog
; Ctrl+Alt+M

DlgSelectScriptToRun("InsertFraction", "LateX Inserter", TRUE)
EndScript

Script InsertFraction
var string sA
If InputBox("Enter the fraction:", "Fraction", sA) != 0 Then
TypeString("Entered fraction: " + sA)
EndIf
EndScript

It seems when in the script list I choose an item and press spacebar, 
then JAWS does not close this dialog immediately before running the 
selected script, but hides it. So when the "InsertFraction" script ends 
then the hidden script list dialog stays opened and lacks the JAWS open 
it again. Do somebody have idea about a workaround for this problem?

Thanks in advance!

Csaba
__________ďż˝

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

Other related posts: