xcxooxl Posted July 31, 2007 Share Posted July 31, 2007 i got a text file which goes like this somthing1-->somthing3 sxxasomthing-->somthing4 the thing is "-->" is the mark between them i want to make a program that will take the thing before the "-->" copy it and paste in the notepad/wordpad replace form and take the after the mark "-->" to "replace to" in the replace form and then do replace all and do it a serval times.. now as for now i juse need help with the code to the reading part can anyone please help me with that..? Link to comment Share on other sites More sharing options...
DW1 Posted July 31, 2007 Share Posted July 31, 2007 That would not be a problem, but why use the replace that is in notepad/wordpad? Why not just do it with AutoIt? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
_Kurt Posted July 31, 2007 Share Posted July 31, 2007 Look up ControlSend, ControlGetText, StringReplace, StringRegExp in the helpfile. That will get you started, Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
xcxooxl Posted August 1, 2007 Author Share Posted August 1, 2007 i looked in the http://www.autoitscript.com/autoit3/docs/functions/for the functions but cant seem somthing to directly help me =/i guess controlget would help if i could make it read like aaaa-->bbbbso it will read first the "aaaa" put it in the first replace bar and then read bbbb and paste it in replace toi think i can make it write in the replace bar so i just need help with the "-->" part =/? 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