Sign in to follow this  
Followers 0
xcxooxl

read before and after -->

4 posts in this topic

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..?

Share this post


Link to post
Share on other sites



That would not be a problem, but why use the replace that is in notepad/wordpad?

Why not just do it with AutoIt?

Share this post


Link to post
Share on other sites

Look up ControlSend, ControlGetText, StringReplace, StringRegExp in the helpfile.

That will get you started,

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

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-->bbbb

so it will read first the "aaaa" put it in the first replace bar and then read bbbb and paste it in replace to

i think i can make it write in the replace bar so i just need help with the "-->" part =/?

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