[jawsscripts] Re: pc_com scripts
- From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 22:49:26 -0000
Hi Don,
I strongly suspect that the compiler reverts to int as the default type
when it cannot find the definition of a constant. Have you tried, as a
test, putting an explicit string in as the section name (parameter one of
IniWriteInteger)? If that works, the problem may be something to do with
your include line for the jsm file, or the file's actual location.
hth
Martin
----- Original Message -----
From: "Don Mauck" <don.mauck@xxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, November 20, he 2007 10:04 PM
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
Oracle <http://www.oracle.com/>
Don Mauck | Accessibility Evangelist
Cross Applications Unlimited
7700 Technology Way
Denver CO 80237
Phone (303) 334-4184
Email don.mauck@xxxxxxxxxx
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- References:
- [jawsscripts] pc_com scripts
- From: Don Mauck
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
- [jawsscripts] pc_com scripts
- From: Don Mauck