Hi,
Yes your are right:
Func Main()
$NexusMeteringPathWorkDir=StringRegExp($NexusMeteringPath,"(^\w:\\.*\\).*\.exe",2)
For $i=1 To $WindowQue[0]
iniWrite($iniNexusConfigFile,"GLOBAL","AktPage",$i)
Sleep(1000)
Run($NexusMeteringPath, $NexusMeteringPathWorkDir[1])
Sleep(2000)
Next
EndFunc
In $WindowsQue is a List of numbers which I must change step by step. So that the Program start with the right parameters.
The ini-File is written by another Program and is written after every start of the Program.
I will only change one entry.
@Kafu: I have test it with FileOpen(***,32,33,128,129,256,257) and always he set the entry at the End. 130 and 258 overwrite my file and only my one entry is inside.
autosave.mmp