Quite often I would like to run a macro that will search for any lines that contain a specific text string, copy the line, switch to a new file (already opened), paste the line, switch back to the original file and continue the macro to the end of file. When I try this it does not matter how many lines the macro finds, only one line gets pasted into the new file. However, cut and paste from file to file works just fine in TextPad 3.2.5 so I keep the old version handy solely to support this function in macros.
It would be very nice if you could restore this capability to copy/paste from file to file within a macro. Thank you.
Macro copies selected lines from one file paste to another
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
That works great but...
I sometimes will perform the following in a Macro:
1. Find a line based on search criteria.
2. Copy it.
3. Paste to other file.
4. Modify the pasted line or possibly add one or more lines of "canned" text after the pasted line.
5. Return to original file and allow macro to continue.
The results above can be achieved with the current TextPad using a somewhat different methodology so it's not a big deal. I just got used to the way I could deal with multiple files using the old TextPad so I still use it from time to time. Guess old habits die hard.
Thanks.
1. Find a line based on search criteria.
2. Copy it.
3. Paste to other file.
4. Modify the pasted line or possibly add one or more lines of "canned" text after the pasted line.
5. Return to original file and allow macro to continue.
The results above can be achieved with the current TextPad using a somewhat different methodology so it's not a big deal. I just got used to the way I could deal with multiple files using the old TextPad so I still use it from time to time. Guess old habits die hard.
Thanks.