[jawsscripts] Problem with Active menu bar function

  • From: "Nguyen Van Dung" <dungnv1984@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 12 Feb 2013 14:55:59 +0700

Hi all
 I am having a problem with ActiveMenuBar function. This is my script:
****
; define a script which save file content
; key: Alt + 8 
script saveFile()
; go to menu bar
ActivateMenuBar ()

If MenusActive () Then; determine if menu is open
typeKey("F")  ; to go menu File
typeKey("s")  ; go to Save item
else
say("Error when open menu bar", OT_STRING)
endif

endscript
******
If I run my script, I always get error message:  Error when open menu bar
That's mean the ActivateMenuBar () function did not work properly.
Can anyone help me to find the cause?

Thank all.
Regards,
Dung Nguyen.

__________�

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

Other related posts: