Jump to content

Recommended Posts

Posted

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!

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...