[jawsscripts] Re: let Jaws speak a menu

If you intend for focus to move before reading the TypeCurrentScriptKey ()
function should be called before speaking instead of after.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Gianluca Nucci
Sent: Tuesday, October 21, 2008 6:54 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] let Jaws speak a menu

Hi all,
I'm trying to write a script for an application that has not an 
accessible menu bar, that is to say that when I press the alt key and 
down arrow Jaws  wouldn't thell me the item (only "menu"), it would 
only if pressing jawskey+up arrow.
I tried this:
include "hjglobal.jsh"

Script ReadMenu ()
if MenusActive () then
SayLine ()
EndIf
TypeCurrentScriptKey ()


EndScript
But in this way it doesn't seem to work, only the previous line would 
be spoken.
Any ideas or suggestions?
Thanks in advance,



Gianluca

-------------------------------------------------

Msn: html-man@xxxxxxxxx

Skype: html-man



Visita il mio sito web:
http://www.html-man.net

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 CheBanca! La prima banca che ti d` gli interessi in anticipo.
* Fino al 4,70% sul Conto Deposito, zero spese e interessi subito. Aprilo!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7918&d=21-10
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: