24325Re: Using toolbar on multiple, separated lines
- Jan 29, 2014--- In firstname.lastname@example.org, Alec Burgess <buralex@...> wrote:
>No, but as a work-around I use...
> Note: AFAICT the Number lines step requires an [OK] or entry of
> a line number followed by [OK] (...)
> @anyone - is there any clip commands that avoids the manual
> entry for ^!Menu Lines\"Number lines"?
^!Keyboard CTRL+A ALT+M L N #1# ENTER
BTW: In your approach, you could save yourself the numbering by executing a kind of "selective editing". Given a list like...
10. SENTENCE ME 1
20. SENTENCE ME 2
30. SENTENCE ME 3
The following clip will change the case in all lines where the line number ends with '0':
; Mark selected lines with '@'
^!Replace "^(?=\d0)" >> "@" WARS
^!Toolbar New Document
^!Find "^@.+$" RS
^!If ^%Id% < ^%SentLines0% Loop
P.S. Please note: This is a reply to Alec and not meant as a solution to John's question. IMHO, there's no way to create a "one-liner" that would do this job.
- << Previous post in topic Next post in topic >>