schilbiz Posted April 16, 2010 Share Posted April 16, 2010 Hello, I have spent some time now looking for an AutoIt function that will write text to a specific position within a file. For instance if I want to write 88 in every line in the file 5 spaces/positions in. I have looked at FileWrite, FileWriteLine and FileWriteToLine but none of those appear to allow what I am looking for. Example: if I were to have the following lines in a txt file abcdefghij aabbccddee aaabbbcccd aaaabbbbcc aaaaabbbbb and I want to end up with this: abcde88fghij aabbc88cddee aaabb88bcccd aaaab88bbbcc aaaaa88bbbbb Please note that each line is different, but I want to write to the same position within each line. What func should I look at, is there some way to do this with AutoIt? Thanks! Link to comment Share on other sites More sharing options...
Yoriz Posted April 16, 2010 Share Posted April 16, 2010 Look at _StringInsert GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
schilbiz Posted April 16, 2010 Author Share Posted April 16, 2010 Look at _StringInsert Thanks! 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