Jump to content
Sign in to follow this  

I need some help...

Recommended Posts


Dear Members...

I need your help.

I made a log like the following with autoit.

http://www.aaaa.com/ -> http://www.bbbb.com/home/data/adtpl/file/971.html

http://www.bbbb.com/home/data/adtpl/file/971.html -> http://www.bbbb.com/home/data/adtpl/file/day/jd.htm

http://www.bbbb.com/home/data/adtpl/file/day/jd.htm -> http://www.bbbb.com/home/data/adtpl/file/day/vaa.css

http://www.bbbb.com/home/data/adtpl/file/day/jd.htm -> http://www.bbbb.com/home/data/adtpl/file/day/tj.js

http://www.bbbb.com/home/data/adtpl/file/day/jd.htm -> http://www.bbbb.com/home/data/adtpl/file/day/data.gif

But, I want to change the above to the following.

1 http://www.aaaa.com/

1-1 http://www.bbbb.com/home/data/adtpl/file/971.html

1-1-1 http://www.bbbb.com/home/data/adtpl/file/day/jd.htm

1-1-1-1 http://www.bbbb.com/home/data/adtpl/file/day/vaa.css

1-1-1-2 http://www.bbbb.com/home/data/adtpl/file/day/tj.js

1-1-1-3 http://www.bbbb.com/home/data/adtpl/file/day/data.gif

Could you give a hint or write code for me?

Please, Help me!~

Thank you!

Share this post

Link to post
Share on other sites

Could you post the code used to make the log? It would probably be easier to modify that than to write another script to change the way it's formatted.

The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

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