Got another question for the Script gurus on this list--of which there seems
to be few, given the response my previous script questions have received!  I
guess my first question should be, Is this the correct list for script
questions, or is there another forum more suited for such questions?
Situation is this:
I'm writing scripts for the "Fedex Ship" utility from Federal Express.  this
utility gives users the ability to schedule Fedex pickup and delivery
services, as well as order supplies and track shipments.
It is speech-friendly, to a point, but with a little tweaking with scripts,
it makes it a joy to use!
Here is the main problem with it...
In the Shipping dialog, you enter Recipient's info and Sender's info.  While
in this area, you can click on certain areas to set particular items, such
as what type of shipping--overnight, 2nd-day Air, etc. and Billing method,
Sunday delivery, International services, and so on.  The problem is that
these items are accessed with mouse only.  Once you click on one of these
labels, the resulting dialog boxes are very friendly.
To locate, and click on one of these labels, "Billing," "Special,"
"International,", and "Services," I've written a script for each.  That
script 1) Check TopLevel, Parent, and Child window names, and if it isn't a
specific set of names, give a message that tells the user he is in the wrong
area for those services, and directs them to the correct MainButtonBar item.
If it finds the correct set, then it 2) Moves to TopLevelWindow's top, and
3) invokes the FindString function with the appropriate text to search for.
When it finds the text, it RouteJawsToInvisible and LeftMouseButton that
text.
All works great from their individual scripts, when invoked using the
assigned keystrokes; Control+Shift+S=Services, Control+Shift+B=Billing,
Control+Shift+D=Special Delivery, and Control+Shift+I=International.
What I'm now trying to do is put those scripts into a menu that is activated
by the user, and it uses either the DlgSelectScriptToRun, or
DlgSelectItemInList functions.
I've got the menus working just find, but here is my problem.
When these menus are activated, the Application Name=JFW, and the Parent
name and Child name is the name of the dialog the menu is in.  Because of
this, the conditions in my search scripts, (i.e.  a particular
TopLevelWindow, Parent, and Child name), are never met, and the "Sorry, not
found..." message is generated!
How do I exit the GlgSelect... script altogether whenever the user whacks
the Enter key on one of my menu items, so the focus can return to the
correct search windows?
Thanks,
Dennis Brown
Visit the BlindProgramming  site at
http://brown99.home.mindspring.com







-
Visit the jfw ml web page: http://jfw.cjb.net

Reply via email to