[jawsscripts] Re: Reading or writing entries in external ini files?

Hi Jeet,

In the FSDN, parameter three of IniReadInteger has to be an integer, and you have it as a string. You also have parameter four as in rather than ini, which is the path to your file.

 hth

Martin


----- Original Message ----- From: "Jeet" <LoveForAll@xxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, February 11, 2008 8:42 AM
Subject: [jawsscripts] Reading or writing entries in external ini files?


Hello friends, the folowing function is not compiled,
I am trying to read the entries from an external ini file.
code:
Globals
String Name,
String Ini
Void Function AutostartEvent ()
Let Name = GetAppFilePath ()
Let name = stringChopRight (Name, 3)
Let Ini = Name+"Ini"

EndFunction
;Saystring is used to debug.
Script ToggleEq ()
If IniReadInteger ("1by1", "Eq_Enable", "0", in) ==1 then
SayString ("Eq Disable")
TypeCurrentScriptKey ()
Else
SayString ("Eq enabled")
TypeCurrentScriptKey ()
EndIf
EndScript
it says:
the ini parameter should be of type int,
I tried it as well, no success!
--
Contact:
Direct-cell: +919213153776
Skype:
Jeet.delhi
"The Scourge Of Authoritarianism Is Intellectualism."

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1

__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts



__________ 
View the list's information and change your settings at http://www.freelists.org/list/jawsscripts

Other related posts: