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

Re: [Clip] Re: Subroutines based upon dat in document

Expand Messages
  • KERRY CAHILL
    John, Thanks, Kerry ... __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com
    Message 1 of 5 , Mar 11, 2004
    • 0 Attachment
      John,

      Thanks,

      Kerry


      --- John Zeman <john041650@...> wrote:
      > --- In ntb-clips@yahoogroups.com, "kcahill1"
      > <kcahill1@y...> wrote:
      > > I would like to call various clips based upon
      > the first three
      > > characters of each line in a doc.
      > >
      > > Example
      > >
      > > POPl01 vvv data
      > > MOM102 ttt data
      > > KID103 yyy data
      > >
      > > Call POP change vvv to kkk set cursor to beggining
      > of next line
      > > Call MOM ect
      > >
      > > Can anybody help? I'm trying to set a variable and
      > thes
      > > Call the variable as a clip
      > >
      > >
      >
      >
      > This was a bigger challenge than it should have been
      > until I realized
      > the first l in POPl01 is not a one, it's an L. I
      > assume you intended
      > it to be a one, if not, this clip will fail.
      >
      > The %WHO% variable should be set to POP or whoever
      > you are looking
      > for.
      >
      > The %WHAT% variable should be set to what you want
      > to replace the
      > middle value with. This is only intended to be a
      > starting point for
      > your clip.
      >
      > John
      >
      > ; enter parameters
      > ^!Set %WHO%=POP
      > ^!Set %WHAT%=kkk
      >
      > ;subroutine
      > ^!Replace "{^\^%WHO%[0-9]+\s}{[a-z,A-Z]+}" >>
      > "\1\^%WHAT%" SR
      > ^!Jump LINE_END
      > ^!MoveCursor +1
      >
      >
      >
      >


      __________________________________
      Do you Yahoo!?
      Yahoo! Search - Find what you�re looking for faster
      http://search.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.