I've written an embarrassingly simple macro that cuts selected text from the active document and pastes it in another document (set off with stars and new lines so it is more visible) — basically a way to keep a record of text that I have edited out, but might want to reuse or come back to at some point in the future.
Code: Select all
Menu “:Edit:Cut:Cut” Menu “:Window:Next Window” Type Text “******\n” Menu “:Edit:Paste:Paste” Type Text “\n\n” Menu “:Window:Last Window”
Now the question: is there a way to have the macro automatically switch to the "X -- . . ." document, and then back to the main one so that I can keep more than these two documents open at a time? I'm sure that there is looking through the macro manual, but I suspect that given the macro virtuosity displayed on this forum it would be quicker to ask than to spend hours in what would likely be fruitless labour.
Much thanks in advance.