[jawsscripts] Verbosity problem, function returns the status in place of help.
- From: Jitendra <jeet.invincible@xxxxxxxxx>
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Fri, 24 Jul 2009 07:41:05 +0530
Hello friends, in the same app I talked for the number detection, a
verbosity problem, which I am unable to solve.
as it is true, that with a toggle function, a function with the same
name suffixing "Hlp should be there in order to display the help text in
the read-only box. if there other ways, let me know please.
here is my code, and if this function does not exist, JAWS does not even
report that unknown function call xxx.hlp. and in the read-only box, it
is producing the status in place of the help text, it seems that this
function does not require the helper function.
;code:
Globals
Int GiNumbers
String Function ToggleNumbersHlp (int Value)
;Help text to show in the read-only box.
Return "this setting tells JAWS to report the automatic number reading
of the account."
EndFunction
String Function ToggleNumbers (int Value)
If !Value Then
Let GiNumbers = !GiNumbers
EndIf
If giNumbers Then
;Change the text that will show in the verbosity dialog.
Return "on"
Else
;Change the text for the Markers against the item as its state when off
to show in the dialog.
Return "Off"
EndIf
EndFunction
Void Function SaveSettings ()
Var
Int Result
Let result = IniWriteInteger ("NumberSettings", "Number", GiAddonAlert,
"App.jcf")
Return Result
EndFunction
Void Function LoadSettings ()
let giNumbers = IniReadInteger ("Numbersettings", "Numbers", 1, "App.jcf")
EndFunction
Thank you, Jitendra.
__________
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: