Sign in to follow this  
Followers 0
Insolence

HTML

3 posts in this topic

Is there any way to edit an html file, add new lines, edit lines, much like an INI?


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites



I think the best you can do with AutoIt is to use the FileReadLine--the Help file has a good example--to read in the file. You could then write out a new file (making changes as you go). Finally, delete the old file and replace it with the new one.

I don't think you can easily insert text at an arbitrary line number.

Hope that helps


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

AutoIT should have a feature to do this, heh, HTMLWrite :whistle:


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

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