[jawsscripts] Re: pc_com scripts

How is Section_UserSettings defined?  If it's defined as an int, or is
an integer constant, that would do it.

On Tue, Nov 20, 2007 at 03:04:31PM -0700, Don Mauck wrote:

   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
   [1]Oracle 
   Don Mauck | Accessibility Evangelist
   Cross Applications Unlimited
   7700 Technology Way

   Denver CO 80237

   Phone (303) 334-4184

   Email [2]don.mauck@xxxxxxxxxx

References

   1. http://www.oracle.com/
   2. mailto:don.mauck@xxxxxxxxxx

-- 
Doug Lee, Access Technology Programmer
SSB BART Group
mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: