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

16682RE: [Clip] Re: Global (all files) does not work.

Expand Messages
  • Dan Rix
    Jul 1, 2007
      Thank you, that worked, but the more important message is why does this work
      in v4.xx and not v5.2?


      -----Original Message-----
      From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
      Of Mark B.
      Sent: Sunday, July 01, 2007 6:43 AM
      To: ntb-clips@yahoogroups.com
      Subject: [Clip] Re: Global (all files) does not work.

      --- In ntb-clips@yahoogrou <mailto:ntb-clips%40yahoogroups.com> ps.com,
      "srxdan" <dano@...> wrote:
      > For Example I use:
      > ^!Replace "NM1*85*" >> "^PNM1*85*" TWASG
      > When I run this clip, it only works on the current open file and not
      > the others. I am using NTpro V5.2. It worked in v4xx. Any
      > suggestions? I was blown off by tech support when I tried to report
      > the problem.

      If necessary, you could loop through all open documents.

      H="loop through tabs"
      ; Documents are indexed 1 to GetDocCount.
      ^!Set %i%=^$GetDocCount$
      ^!If ^%i% < 1 ExitLoop
      ; Activate the document
      ^!SetDocIndex ^%i%
      ^!Replace "NM1*85*" >> "^PNM1*85*" TWASG
      ^!Dec %i%
      ^!GoTo Loop

      [Non-text portions of this message have been removed]
    • Show all 6 messages in this topic