>>>Pete,
>>>Just curious, is there any reason why you want to do this in "interactive" mode. Couldn't you manipulate the text file using low-level functions?
>>
>>Daniel,
>> Didn't know playing a keyboard macro was interactive. I'd like the whole thing to run untouched by human or any other hands. I thought that a macro was the way to go by saving it to a *.kby file and calling it with a PLAY MACRO(). I'm not fussy about how it's done. With the way I type and my dyslexia I don't want to do any more typing than I or anyone else have to. DYSLEXICS UNTIE!!
>>
>>Pete
>
>Daniel was right.
>
>You just have to open the file with low level functions.
>Copy the contain of the file in a variable.
>Seek the value to replace in the string.
>Replace it in the string.
>Write back the file with low level functions.
>
>Look at FOPEN(),FSEEK(),F...() in the help.
>
>HTH :-)
Or if files are not huge, you can play with string manipulations (filetostr, stuff, strtofile)
If it's not broken, fix it until it is.
My Blog