Re: How do I paste into the last half of a file (until reached)?
- --- In email@example.com, "Ron Ball" <RonBall42@a...> wrote:
> ...^!If ^$GetRow$<= ^$GetTextLineCount$ StartLoop
> H="Paste Until End Of File"
> ;Beginning of loop
> ^!Keyboard Home
> ^!Keyboard #'\\Todo:#
> ^!Keyboard Down
> ;EXIT THE LOOP WHEN WE ARE AT END OF FILE
> ???? I don't know what to put here ????
Note that the test either succeeds, and jumps back up,
or fails and drops out of the loop.
However! since you appear to want to insert "'\\Todo:"
at the beginning of the line, why not just use replace?
Plasce your cursor where you want to start replaceing and
run the clip command:
^!Replace ^P ^P'Todo: AS
That should replace every start of the line with the start AND the
text, to the end of the document.
If it doesn't work, read Help about the ^Replace command and its