rado354 Posted June 5, 2007 Share Posted June 5, 2007 (edited) Hello everybody, In WordPad I have something like this: code code code ... http://mysite.com/2007/06/05/title1/ --- code code code --- http://mysite.com/2007/06/04/title2/ ... code code code I need a function that will create a list like: <a href="http://mysite.com/2007/06/05/title1/">title1</a> <a href="http://mysite.com/2007/06/04/title2/">title2</a> Is it possible to do this with AutoIt? I have a basic AutoIt knowledge, but this is way to advanced for me. Can someone please help me? Thank You in advance Edited June 5, 2007 by rado354 Link to comment Share on other sites More sharing options...
florisch Posted June 5, 2007 Share Posted June 5, 2007 I suppose you read the help file, under Function Reference you will find String Management. This text is saved as a file? I would open it with FileOpen(), get it line by line with FileReadLine() and then parse the lines for what I need with string functions. Like: line starts with http://, then I extract the rightmost part. Then you can concatenate together the line you wanted. Link to comment Share on other sites More sharing options...
rado354 Posted June 5, 2007 Author Share Posted June 5, 2007 The text is saved as a file. Thanks a lot for your input, I will try and report the results 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