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

Re: [Clip] Extracting info between tabs ?

Expand Messages
  • Don Daugherty
    ... I concur with the above. If the ^!Select HTMLTAG command somehow doesn t select the entire tag, an alternative would be to recode the find
    Message 1 of 5 , May 19, 2008
      ebbtidalflats wrote:
      > Hi John,
      >
      > See the insertion (and slight mod to the "FIND <body") into Don's code
      > below:
      >
      >
      > --- In ntb-clips@yahoogroups.com, johnf@... wrote:
      >> On Sat, 17 May 2008 20:57:54 -0500, Don Daugherty wrote:
      >>
      >>> ^!SetCursor 1:1
      >>> :Repeat
      >>> ^!Find "</body>" IS
      >>> ^!Jump Select_Start
      >>> ^!Set %From%=^$GetRow$:^$GetCol$
      >>> ^!Find "<body" IS
      >>> ^!IfError End
      > ^!Select HTMLTAG
      >>> ^!Jump Select_End
      >>> ^!Set %To%=^$GetRow$:^$GetCol$
      >>> ^!SetCursor ^%From%
      >>> ^!SelectTo ^%To%
      >>> ^!InsertText ""
      >>> ^!GoTo Repeat
      >
      >
      >> I notice however that I gave you incorrect information. The <body> tag
      >> could in fact be different. Instead of eg. <body> it could be
      >> something like <body bgcolor="#3c035a" onload="MM_preloadImages
      >> etc. etc.
      >>
      >> In other words the <body> tag could have variable information in.
      >> Could your code above be adapted to accomodate this situation ?
      >>
      >
      >
      > The Select HTMLTAG command SHOULD select the entire body tag,
      > if it doesn't, it's Eric's way of telling you to UPGRADE NoteTab <g>.
      >
      >
      > Eb

      I concur with the above.

      If the ^!Select HTMLTAG command somehow doesn't select the entire tag,
      an alternative would be to recode the find <body tag as shown below
      ^!Find "<body[^>]*>" RS
      and not use the Select HTMLTAG command.
    Your message has been successfully submitted and would be delivered to recipients shortly.