#46457 - 2003-10-08 07:17 PM
Edit an ini file
|
gram
Lurker
Registered: 2003-10-08
Posts: 1
|
[Moderator (Sealeopard): Moved thread from 'Scripts' to 'Starters' forum due to lack of script in body]
I want to be able to check that a specific line appears at the top of a section in an ini file. If the line is not located at the top of the section, I want to move it to that location. Is this possible with kix?
Thanks [ 08. October 2003, 19:22: Message edited by: sealeopard ]
|
|
Top
|
|
|
|
#46458 - 2003-10-08 07:20 PM
Re: Edit an ini file
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
READPROFILESTRING/WRITEPROFILESTRING are your friends with INI files.
Kent
|
|
Top
|
|
|
|
#46460 - 2003-10-08 09:12 PM
Re: Edit an ini file
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Hello Gram and welcome to the board otherwise known as KORG
Please take a look at this posting and if you have further questions please let us know.
Also please review the FAQ section here on the board which attempts to answer many of the questions asked.
I have a .CHM help file on my website for download as well which contains a lot of information about KiXtart
KiXhelp Website
KORG-FAQ Help file .CHM format
Replace a value in an INI file [ 08. October 2003, 21:14: Message edited by: NTDOC ]
|
|
Top
|
|
|
|
#46462 - 2003-10-09 03:02 AM
Re: Edit an ini file
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
Jack,
WTH Dude... give me a hand please. This is the starters forum.
1. What is an array? 2. How do I use one? 3. What is a function? 4. What are strings? 5. How do I intall KiX?
ROFLMAO
Jack... sort of pulling your leg here, but the point is that the answer you gave would be way over someones head if they had NEVER programmed anything in their life and are new to KiXtart as well. Not sure if Gram is that new or not, but this was his first post here.
|
|
Top
|
|
|
|
#46464 - 2003-10-09 07:36 PM
Re: Edit an ini file
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
No problem Jack. Hopefully I did not offend you I meant it to be light hearted.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1452 anonymous users online.
|
|
|