Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] automating via template and clip processing from Directory list

Expand Messages
  • Jeffery Scism
    BEAUTIFUL runs like a champ in about ten seconds ( faster if screen Update is OFF.) THIS will save LOTS of time. Thanks again.
    Message 1 of 4 , Jun 24, 2012
    • 0 Attachment
      BEAUTIFUL runs like a champ in about ten seconds ( faster if screen
      Update is OFF.)

      THIS will save LOTS of time.

      Thanks again.

      On 6/24/2012 5:01 PM, Axel Berger wrote:
      > ; Start at the top
      > ^!Jump TEXT_START
      > ; Find lines conforming to the pattern and restructure
      > ; # long line starts
      > ^!Replace "^File:(\w+)-(\w+)(-\w+)?\.htm.*$" >> "<A
      > HREF="$1-$2$3\.htm">$1, $2$3</A><BR>" WRASTI
      > ; # long line ends
      > ; Back to top
      > ^!Jump TEXT_START
      > :loop1
      > ; unchanged lines did not fit the pattern
      > ^!Find "^File:" RSTI
      > ; all unchanged lines found, next loop
      > ^!IfError toloop2
      > ; delete
      > ^!DeleteLine
      > ; and continue
      > ^!Goto loop1
      > :toloop2
      > ; Back to top
      > ^!Jump TEXT_START
      > :loop2
      > ; Find names in link text
      > ^!Find "htm">(.+)</A>" RSTI1
      > ; if all done we can finish
      > ^!IfError END
      > ; Get that second hyphen
      > ^!InsertSelect ^$StrReplace("-";" ";"^$GetSelection$";FALSE;FALSE)$
      > ; capitalize
      > ^!InsertText ^$StrCapitalize("^$GetSelection$")$
      > ; and continue
      > ^!Goto loop2
    Your message has been successfully submitted and would be delivered to recipients shortly.