Sign in to follow this  
Followers 0
bafh

many lines and no idea!

6 posts in this topic

Hi folks,

well I got this problem:

I got a file (html but i could convert it into usual text or what ever, it doesnt really matter) and there are many lines with information. Now, what I want to do, is that the script reads the first line, deletes part of the info (which is like the first 10 letters) and writes the rest into a new text file. Then it does the same with line two. In line three it checks if the stuff it wants to write into the textfile is already there and if not it writes it down AND SO ON until the file ends.

Well, the file is that big that I really really really dont want to do that manually.

How would I do that with autoit? Thanks alot.

Share this post


Link to post
Share on other sites



Okay,

and how would i do the read line and read next line and so on? as a script?

Share this post


Link to post
Share on other sites

Yes and how would I write a function that checks the whole written file if the line already exists?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0