Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- May 24, 2009 at 12:28 pm #7319reginaldParticipant
Hi,
is there a way to create a macro that makes it possible to use a find-function and a sendkeys-function (shell.SendKeys( “{BACKSPACE}” )) in one text-file?
I want to combine pairs of two lines of text to one line. The second line of the pairs always starts with the same character (here “:”) and should be placed after the first line of the pairs.
Sample:AAA
:BBBCCC
:DDDEEE
:FFFHere follows how I want to have the text after using a macro:
AAA:BBB
CCC:DDD
EEE:FFF
Can anyone give me the syntax of the macro, please?
Thanks a lot in advance…
May 24, 2009 at 2:08 pm #7320zhouzh2ParticipantNo need for macros.
Press CTRL + H
find: “n(:.*)”
replace with : “1”
check use regular expressions
replace all
DoneMay 24, 2009 at 8:03 pm #7323reginaldParticipantThanks a lot… :-)
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.