EmEditor (text editor) Forum Index Questions and Answers about Macros
macro combining find and sendkeys | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| reginald | Posted on: 5/24/2009 4:28 am |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Posts: 4 |
macro combining find and sendkeys 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 :BBB CCC :DDD EEE :FFF Here 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... |
| zhouzh2 | Posted on: 5/24/2009 6:08 am |
Just can't stay away ![]() ![]() Joined: 7/27/2008 From: Posts: 89 |
Re: macro combining find and sendkeys No need for macros.
Press CTRL + H find: "\n(:.*)" replace with : "\1" check use regular expressions replace all Done |
| reginald | Posted on: 5/24/2009 12:03 pm |
Just popping in ![]() ![]() Joined: 4/6/2007 From: Posts: 4 |
Re: macro combining find and sendkeys Thanks a lot...
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |



