[jawsscripts] Re: pc_com scripts

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 

 

JPEG image

Other related posts: