[jawsscripts] Re: pc_com scripts
- From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 17:04:53 -0600
How is Inisection_UserSettings defined?
According to the documentation this is supposed to be a string defining the
section in the Ini file.
So perhaps the variable is not being declared or set first?
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Don Mauck
Sent: Tuesday, November 20, 2007 4:05 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] pc_com scripts
Can anyone tell me what is wrong with the function IniWriteInteger ?
The compile states that Parameter one should be of type string not int.
I suspect FS has changed something somewhere with this and maybe other
functions as well since 6.2. I'm open to suggestions of all kinds. BTW, I
am using my own pcsws.jsm so I don't think the common.jsm would have any
part in this issue. I must be missing something obvious but I've probably
looked at this too much and need a different view, thanks from anyone who is
interested.
Script SavePCSWSSettings ()
var int WriteSuccess
let writeSuccess = IniWriteInteger (section_UserSettings,
hKey_MarginAlertCol, MarginAlertCol, IniFileName)
IniWriteInteger (section_UserSettings, hKey_MarginAlertType,
MarginAlertType, IniFileName)
IniWriteInteger (section_VerbositySettings, hKey_TerminalScreenEcho,
TerminalScreenEcho, IniFileName)
IniWriteInteger (section_VerbositySettings, hKey_StatusLineEcho,
StatusLineEcho, IniFileName)
if WriteSuccess then Say (msg308, OT_JAWS_MESSAGE) ; Application settings
saved
else Say (msg309, OT_JAWS_MESSAGE) ; error saving application settings
endIf
EndScript
<http://www.oracle.com/> Image removed by sender. Oracle
Don Mauck | Accessibility Evangelist
Cross Applications Unlimited
7700 Technology Way
Denver CO 80237
Phone (303) 334-4184
Email don.mauck@xxxxxxxxxx
- Follow-Ups:
- [jawsscripts] Re: pc_com scripts
- From: Don Mauck
- [jawsscripts] Re: pc_com scripts
- References:
- [jawsscripts] pc_com scripts
- From: Don Mauck
- [jawsscripts] pc_com scripts
Other related posts:
- » [jawsscripts] pc_com scripts
- » [jawsscripts] Re: pc_com scripts
- » [jawsscripts] Re: pc_com scripts
- » [jawsscripts] Re: pc_com scripts
- » [jawsscripts] Re: pc_com scripts
- » [jawsscripts] Re: pc_com scripts
- » [jawsscripts] Re: pc_com scripts
