zax Posted April 17, 2007 Share Posted April 17, 2007 (edited) I wrote a simple script to overwrite cfg files like this; #include <File.au3> #NoTrayIcon $text = InputBox("Woot ip changer", "Please type in IP and click OK") ;Fieldserver _FileWriteToLine("D:\server\cfg\1\world.cfg", 10, "server_ip "& $text, 1) it's working fine when no other word after server_ip. My question is how to do it when i want to write in the middle of sentence for example server_ip (writetext) session? Edited April 17, 2007 by zax Link to comment Share on other sites More sharing options...
xcal Posted April 17, 2007 Share Posted April 17, 2007 I think you want... "server_ip " & $text & "session" ? How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
zax Posted April 17, 2007 Author Share Posted April 17, 2007 I think you want..."server_ip " & $text & "session"?Thanks xcal that is working. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now