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

Concatenation

Expand Messages
  • skyflyerdezign
    I am very new to Clips. I am slowly figuring it out. I ll get it! Here is my current issue. I have executed ^$GetDocCount$. That will give me how many
    Message 1 of 13 , May 23, 2006
      I am very new to Clips.
      I am slowly figuring it out. I'll get it!

      Here is my current issue.
      I have executed ^$GetDocCount$.
      That will give me how many documents I have open.
      I might have documents Index1.htm --> Index4.htm open.
      I want to cycle/loop through all 4 documents and run a clip or two
      based on document position to change some of my htm code.
      I need to concatenate some text, total document count, and current
      index of the loop to match one of my clips that I would then execute
      in that document.
      I need to create this string - 'top4/2', (where 'top' is the text, 4
      is total documents, and 2 is the current index of the loop.
      'top4/2' is the name of my clip that I would like to execute in
      index2.htm.
      I also have a bot4/2. I am inserting certain sets of htm code in
      each of the index files.
      I hope some of this makes sense.
      I have looked at the text functions, but nothing jumped out at me!
      If there is a different way of doing this, let me know where I can see
      an example.
      Thanks in advance for any help.
      Bob
    • Don Daugherty
      ... It looks like we need some clarification here. 1. Is top4/2 really the name of the clip or is it really a clip top whose operation will change depending
      Message 2 of 13 , May 23, 2006
        skyflyerdezign wrote:
        > Here is my current issue.
        > I have executed ^$GetDocCount$.
        > That will give me how many documents I have open.
        > I might have documents Index1.htm --> Index4.htm open.
        > I want to cycle/loop through all 4 documents and run a clip or two
        > based on document position to change some of my htm code.
        > I need to concatenate some text, total document count, and current
        > index of the loop to match one of my clips that I would then execute
        > in that document.
        > I need to create this string - 'top4/2', (where 'top' is the text, 4
        > is total documents, and 2 is the current index of the loop.
        > 'top4/2' is the name of my clip that I would like to execute in
        > index2.htm.
        > I also have a bot4/2. I am inserting certain sets of htm code in
        > each of the index files.
        >

        It looks like we need some clarification here.
        1. Is top4/2 really the name of the clip or is it really a clip 'top'
        whose operation will change depending on two variables, say %Total% and
        %Current%, where the value of %Total% might be 4 and the value of
        %Current% would be varied from 1 to 4?

        2. What do you mean by "document position"? Do you means the Document
        Number assigned by NoteTab (which will depend on the order in which
        documents are opened?) It it, for example, what I have called %Current%
        in the above question?
      • Don - HtmlFixIt.com
        ... Hi Bob, Welcome to clips. I have to say I am not sure I follow you exactly. You can easily assemble strings of text. Is this a string with variables or
        Message 3 of 13 , May 23, 2006
          skyflyerdezign wrote:
          > I am very new to Clips.
          > I am slowly figuring it out. I'll get it!
          >
          > Here is my current issue.
          > I have executed ^$GetDocCount$.
          > That will give me how many documents I have open.
          > I might have documents Index1.htm --> Index4.htm open.
          > I want to cycle/loop through all 4 documents and run a clip or two
          > based on document position to change some of my htm code.
          > I need to concatenate some text, total document count, and current
          > index of the loop to match one of my clips that I would then execute
          > in that document.
          > I need to create this string - 'top4/2', (where 'top' is the text, 4
          > is total documents, and 2 is the current index of the loop.
          > 'top4/2' is the name of my clip that I would like to execute in
          > index2.htm.
          > I also have a bot4/2. I am inserting certain sets of htm code in
          > each of the index files.
          > I hope some of this makes sense.
          > I have looked at the text functions, but nothing jumped out at me!
          > If there is a different way of doing this, let me know where I can see
          > an example.
          > Thanks in advance for any help.
          > Bob
          >
          Hi Bob,

          Welcome to clips. I have to say I am not sure I follow you exactly.
          You can easily assemble strings of text. Is this a string with
          variables or what? You found ^$GetDocCount$ which I think is equal to
          the "4" in your example? You can use a counter for the index at a given
          time and increment it when you are done with that particular document,
          and then move to the next document. Maybe a specific example will help?
        • Bob Serack
          Thanks for getting back with me. I ve never been good at explaining things! Yes, my clips are named top4/1, top4/2, ... top4/4. And I have a bottom set also.
          Message 4 of 13 , May 23, 2006
            Thanks for getting back with me.
            I've never been good at explaining things!

            Yes, my clips are named top4/1, top4/2, ... top4/4.
            And I have a 'bottom' set also.
            Each of these contain all the forward/backward/home htm code to link between
            my index pages that I am setting up.
            Since some of my page sets have 2 index pages, or up to 8 or 9 index pages,
            I have to have all these sets to insert at the top and bottom of my code.
            I'm just trying to automate the process, and clips seems the way to go.
            Just need to crawl before I can walk!

            I think I figured out how to concatenate.
            I didn't realize it could be that easy.
            I thought there was a function to do that, but I figured out that I could
            just do something like this ...
            ^!set %TopClip%=^$StrTrim("Top")$^%DocCount%/^%Index%
            where DocCount is the total Index pages that I have loaded up and the index
            is the number 1 through whatever ...
            This gives me %TopClip% with a value of 'Top4/2' or whatever the count and
            index are.
            Now I just have to figure out how to execute that clip.
            My attempt at it didn't work.
            I tried
            ^!Clip ^%TopClip%.
            I'll just have to do more reading in HELP.

            And yes, I am referring to the opened Index pages (tabs, whatever they are
            called!).
            I would open them in the order that I would want them processed

            We can close this thread as I think I figured out how to concatenate.
            I have more questions which I'll write up at a later date.

            Thanks again ...




            Later, BS





            _____

            From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
            Of Don - HtmlFixIt.com
            Sent: Tuesday, May 23, 2006 8:11 PM
            To: ntb-clips@yahoogroups.com
            Subject: Re: [Clip] Concatenation


            skyflyerdezign wrote:
            > I am very new to Clips.
            > I am slowly figuring it out. I'll get it!
            >
            > Here is my current issue.
            > I have executed ^$GetDocCount$.
            > That will give me how many documents I have open.
            > I might have documents Index1.htm --> Index4.htm open.
            > I want to cycle/loop through all 4 documents and run a clip or two
            > based on document position to change some of my htm code.
            > I need to concatenate some text, total document count, and current
            > index of the loop to match one of my clips that I would then execute
            > in that document.
            > I need to create this string - 'top4/2', (where 'top' is the text, 4
            > is total documents, and 2 is the current index of the loop.
            > 'top4/2' is the name of my clip that I would like to execute in
            > index2.htm.
            > I also have a bot4/2. I am inserting certain sets of htm code in
            > each of the index files.
            > I hope some of this makes sense.
            > I have looked at the text functions, but nothing jumped out at me!
            > If there is a different way of doing this, let me know where I can see
            > an example.
            > Thanks in advance for any help.
            > Bob
            >
            Hi Bob,

            Welcome to clips. I have to say I am not sure I follow you exactly.
            You can easily assemble strings of text. Is this a string with
            variables or what? You found ^$GetDocCount$ which I think is equal to
            the "4" in your example? You can use a counter for the index at a given
            time and increment it when you are done with that particular document,
            and then move to the next document. Maybe a specific example will help?


            Fookes Software: http://www.fookes.us, http://www.fookes.com
            Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm





            SPONSORED LINKS
            Affiliate
            <http://groups.yahoo.com/gads?t=ms&k=Affiliate+program+software&w1=Affiliate
            +program+software&w2=Construction+software+program&w3=Medical+software+progr
            am&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwar
            e+development+program&c=6&s=198&.sig=9KaWuy6FKnRHLoW5F2y04Q> program
            software Construction
            <http://groups.yahoo.com/gads?t=ms&k=Construction+software+program&w1=Affili
            ate+program+software&w2=Construction+software+program&w3=Medical+software+pr
            ogram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Soft
            ware+development+program&c=6&s=198&.sig=F3LkPjhe1MkJ4Fq3QQZwUA> software
            program Medical
            <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Affiliate+p
            rogram+software&w2=Construction+software+program&w3=Medical+software+program
            &w4=Accounting+software+program&w5=Estate+program+real+software&w6=Software+
            development+program&c=6&s=198&.sig=AwyI7nQBuf_OuJksGRgsXA> software program

            Accounting
            <http://groups.yahoo.com/gads?t=ms&k=Accounting+software+program&w1=Affiliat
            e+program+software&w2=Construction+software+program&w3=Medical+software+prog
            ram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwa
            re+development+program&c=6&s=198&.sig=VzCxLFHTZiHmXsWEP_djZQ> software
            program Estate
            <http://groups.yahoo.com/gads?t=ms&k=Estate+program+real+software&w1=Affilia
            te+program+software&w2=Construction+software+program&w3=Medical+software+pro
            gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
            are+development+program&c=6&s=198&.sig=lMTrEr4oqbyRycvw8--w5g> program real
            software Software
            <http://groups.yahoo.com/gads?t=ms&k=Software+development+program&w1=Affilia
            te+program+software&w2=Construction+software+program&w3=Medical+software+pro
            gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
            are+development+program&c=6&s=198&.sig=DOR5xh8pu5s-DHxW2MQDrA> development
            program

            _____

            YAHOO! GROUPS LINKS



            * Visit your group "ntb-clips
            <http://groups.yahoo.com/group/ntb-clips> " on the web.


            * To unsubscribe from this group, send an email to:
            ntb-clips-unsubscribe@yahoogroups.com
            <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


            * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
            <http://docs.yahoo.com/info/terms/> .


            _____




            [Non-text portions of this message have been removed]
          • Bob Serack
            Thanks for getting back with me. I ve never been good at explaining things! Yes, my clips are named top4/1, top4/2, ... top4/4. And I have a bottom set also.
            Message 5 of 13 , May 23, 2006
              Thanks for getting back with me.
              I've never been good at explaining things!

              Yes, my clips are named top4/1, top4/2, ... top4/4.
              And I have a 'bottom' set also.
              Each of these contain all the forward/backward/home htm code to link between
              my index pages that I am setting up.
              Since some of my page sets have 2 index pages, or up to 8 or 9 index pages,
              I have to have all these sets to insert at the top and bottom of my code.
              I'm just trying to automate the process, and clips seems the way to go.
              Just need to crawl before I can walk!

              I think I figured out how to concatenate.
              I didn't realize it could be that easy.
              I thought there was a function to do that, but I figured out that I could
              just do something like this ...
              ^!set %TopClip%=^$StrTrim("Top")$^%DocCount%/^%Index%
              where DocCount is the total Index pages that I have loaded up and the index
              is the number 1 through whatever ...
              This gives me %TopClip% with a value of 'Top4/2' or whatever the count and
              index are.
              Now I just have to figure out how to execute that clip.
              My attempt at it didn't work.
              I tried
              ^!Clip ^%TopClip%.
              I'll just have to do more reading in HELP.

              And yes, I am referring to the opened Index pages (tabs, whatever they are
              called!).
              I would open them in the order that I would want them processed

              We can close this thread as I think I figured out how to concatenate.
              I have more questions which I'll write up at a later date.

              Thanks again ...




              Later, BS





              _____

              From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
              Of Don Daugherty
              Sent: Tuesday, May 23, 2006 1:46 PM
              To: ntb-clips@yahoogroups.com
              Subject: Re: [Clip] Concatenation


              skyflyerdezign wrote:
              > Here is my current issue.
              > I have executed ^$GetDocCount$.
              > That will give me how many documents I have open.
              > I might have documents Index1.htm --> Index4.htm open.
              > I want to cycle/loop through all 4 documents and run a clip or two
              > based on document position to change some of my htm code.
              > I need to concatenate some text, total document count, and current
              > index of the loop to match one of my clips that I would then execute
              > in that document.
              > I need to create this string - 'top4/2', (where 'top' is the text, 4
              > is total documents, and 2 is the current index of the loop.
              > 'top4/2' is the name of my clip that I would like to execute in
              > index2.htm.
              > I also have a bot4/2. I am inserting certain sets of htm code in
              > each of the index files.
              >

              It looks like we need some clarification here.
              1. Is top4/2 really the name of the clip or is it really a clip 'top'
              whose operation will change depending on two variables, say %Total% and
              %Current%, where the value of %Total% might be 4 and the value of
              %Current% would be varied from 1 to 4?

              2. What do you mean by "document position"? Do you means the Document
              Number assigned by NoteTab (which will depend on the order in which
              documents are opened?) It it, for example, what I have called %Current%
              in the above question?



              Fookes Software: http://www.fookes.us, http://www.fookes.com
              Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm





              SPONSORED LINKS
              Affiliate
              <http://groups.yahoo.com/gads?t=ms&k=Affiliate+program+software&w1=Affiliate
              +program+software&w2=Construction+software+program&w3=Medical+software+progr
              am&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwar
              e+development+program&c=6&s=198&.sig=9KaWuy6FKnRHLoW5F2y04Q> program
              software Construction
              <http://groups.yahoo.com/gads?t=ms&k=Construction+software+program&w1=Affili
              ate+program+software&w2=Construction+software+program&w3=Medical+software+pr
              ogram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Soft
              ware+development+program&c=6&s=198&.sig=F3LkPjhe1MkJ4Fq3QQZwUA> software
              program Medical
              <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Affiliate+p
              rogram+software&w2=Construction+software+program&w3=Medical+software+program
              &w4=Accounting+software+program&w5=Estate+program+real+software&w6=Software+
              development+program&c=6&s=198&.sig=AwyI7nQBuf_OuJksGRgsXA> software program

              Accounting
              <http://groups.yahoo.com/gads?t=ms&k=Accounting+software+program&w1=Affiliat
              e+program+software&w2=Construction+software+program&w3=Medical+software+prog
              ram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwa
              re+development+program&c=6&s=198&.sig=VzCxLFHTZiHmXsWEP_djZQ> software
              program Estate
              <http://groups.yahoo.com/gads?t=ms&k=Estate+program+real+software&w1=Affilia
              te+program+software&w2=Construction+software+program&w3=Medical+software+pro
              gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
              are+development+program&c=6&s=198&.sig=lMTrEr4oqbyRycvw8--w5g> program real
              software Software
              <http://groups.yahoo.com/gads?t=ms&k=Software+development+program&w1=Affilia
              te+program+software&w2=Construction+software+program&w3=Medical+software+pro
              gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
              are+development+program&c=6&s=198&.sig=DOR5xh8pu5s-DHxW2MQDrA> development
              program

              _____

              YAHOO! GROUPS LINKS



              * Visit your group "ntb-clips
              <http://groups.yahoo.com/group/ntb-clips> " on the web.


              * To unsubscribe from this group, send an email to:
              ntb-clips-unsubscribe@yahoogroups.com
              <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


              * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
              <http://docs.yahoo.com/info/terms/> .


              _____




              [Non-text portions of this message have been removed]
            • Don - HtmlFixIt.com
              If all you want are navigation links to next and prior, start and end, that is very easy to do and you can do it with one clip, not a whole bunch of clips.
              Message 6 of 13 , May 23, 2006
                If all you want are navigation links to next and prior, start and end,
                that is very easy to do and you can do it with one clip, not a whole
                bunch of clips. Just get name of prev and next files open by using tab
                index and put in links?
              • Bob Serack
                Yes, I wondered if I could maybe simplify the whole process. I guess I ll just have to work at it for a while and maybe get something done. This is an example
                Message 7 of 13 , May 23, 2006
                  Yes, I wondered if I could maybe simplify the whole process.
                  I guess I'll just have to work at it for a while and maybe get something
                  done.

                  This is an example of what I want to insert at the top of each index page
                  ...
                  Of course all of this depends on how many index.htm pages are in a set.
                  But, with a little programming, it could be done.

                  <p align="center"><font size="2" face="Verdana, Arial, Helvetica,
                  sans-serif">Page 3 of 6
                  <p align="center"><A HREF=" <http://bobserack.com/>
                  http://bobserack.com/">Home</A>
                   
                  <A HREF="Index2.htm">| Previous Page |</A>
                  <A HREF="Index.htm"> 1</A>
                  <A HREF="Index2.htm"> 2</A>
                   3 
                  <A HREF="Index4.htm"> 4</A>
                  <A HREF="Index5.htm"> 5</A>
                  <A HREF="Index6.htm"> 6</A>
                  <A HREF="Index4.htm"> | Next Page |</A>
                  <A HREF="#bot"> Go to Bottom</a></font>
                  </p>
                  <img src="../../images_global/s_horizontal_rainbow_500.gif" width="500"
                  height="1" border="0">
                  <p> <font face="Arial, Helvetica, sans-serif"><table border="0"
                  cellpadding="4" cellspacing="4">

                  I have a similar set that I put at the bottom of the htm code.
                  You are right, there has to be a way.
                  I'll give it a shot.
                  I just need to learn some basic stuff about clips before I can forge ahead.
                  Some of the HELP is not that clear or explains it well enough.
                  Maybe I'll put together a short list of specific questions that I have and
                  could get some answers on this forum.
                  Thanks for your help ...




                  Later, BS





                  _____

                  From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
                  Of Don - HtmlFixIt.com
                  Sent: Tuesday, May 23, 2006 11:09 PM
                  To: ntb-clips@yahoogroups.com
                  Subject: Re: [Clip] Concatenation


                  If all you want are navigation links to next and prior, start and end,
                  that is very easy to do and you can do it with one clip, not a whole
                  bunch of clips. Just get name of prev and next files open by using tab
                  index and put in links?



                  Fookes Software: http://www.fookes.us, http://www.fookes.com
                  Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm





                  SPONSORED LINKS
                  Affiliate
                  <http://groups.yahoo.com/gads?t=ms&k=Affiliate+program+software&w1=Affiliate
                  +program+software&w2=Construction+software+program&w3=Medical+software+progr
                  am&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwar
                  e+development+program&c=6&s=198&.sig=9KaWuy6FKnRHLoW5F2y04Q> program
                  software Construction
                  <http://groups.yahoo.com/gads?t=ms&k=Construction+software+program&w1=Affili
                  ate+program+software&w2=Construction+software+program&w3=Medical+software+pr
                  ogram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Soft
                  ware+development+program&c=6&s=198&.sig=F3LkPjhe1MkJ4Fq3QQZwUA> software
                  program Medical
                  <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Affiliate+p
                  rogram+software&w2=Construction+software+program&w3=Medical+software+program
                  &w4=Accounting+software+program&w5=Estate+program+real+software&w6=Software+
                  development+program&c=6&s=198&.sig=AwyI7nQBuf_OuJksGRgsXA> software program

                  Accounting
                  <http://groups.yahoo.com/gads?t=ms&k=Accounting+software+program&w1=Affiliat
                  e+program+software&w2=Construction+software+program&w3=Medical+software+prog
                  ram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwa
                  re+development+program&c=6&s=198&.sig=VzCxLFHTZiHmXsWEP_djZQ> software
                  program Estate
                  <http://groups.yahoo.com/gads?t=ms&k=Estate+program+real+software&w1=Affilia
                  te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                  gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                  are+development+program&c=6&s=198&.sig=lMTrEr4oqbyRycvw8--w5g> program real
                  software Software
                  <http://groups.yahoo.com/gads?t=ms&k=Software+development+program&w1=Affilia
                  te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                  gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                  are+development+program&c=6&s=198&.sig=DOR5xh8pu5s-DHxW2MQDrA> development
                  program

                  _____

                  YAHOO! GROUPS LINKS



                  * Visit your group "ntb-clips
                  <http://groups.yahoo.com/group/ntb-clips> " on the web.


                  * To unsubscribe from this group, send an email to:
                  ntb-clips-unsubscribe@yahoogroups.com
                  <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


                  * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
                  <http://docs.yahoo.com/info/terms/> .


                  _____




                  [Non-text portions of this message have been removed]
                • Don - HtmlFixIt.com
                  ... I have changed the title obviously. I am confused between groups Jody am I supposed to top or bottom post around here? Anyway, Some helpful commands for
                  Message 8 of 13 , May 24, 2006
                    Bob Serack wrote:
                    > Yes, I wondered if I could maybe simplify the whole process.
                    > I guess I'll just have to work at it for a while and maybe get something
                    > done.
                    >
                    > This is an example of what I want to insert at the top of each index page
                    > ...
                    > Of course all of this depends on how many index.htm pages are in a set.
                    > But, with a little programming, it could be done.
                    >
                    > <p align="center"><font size="2" face="Verdana, Arial, Helvetica,
                    > sans-serif">Page 3 of 6
                    > <p align="center"><A HREF=" <http://bobserack.com/>
                    > http://bobserack.com/">Home</A>
                    >  
                    > <A HREF="Index2.htm">| Previous Page |</A>
                    > <A HREF="Index.htm"> 1</A>
                    > <A HREF="Index2.htm"> 2</A>
                    >  3 
                    > <A HREF="Index4.htm"> 4</A>


                    I have changed the title obviously. I am confused between groups Jody
                    am I supposed to top or bottom post around here?

                    Anyway,

                    Some helpful commands for you:
                    ^$GetDocCount$ will get the total number of documents

                    ^$GetDocName(Index)$ will tell you the name of a document at a given
                    index position so you can build the links.

                    ^$GetDocIndex(Name)$ will tell you the active documents name - not sure
                    you need this one

                    ^$GetDocIndex$ will tell you the number of the active index -- so using
                    this you can build the little link index easily enough using an if

                    ^!If Integer1 <> Integer2 GoToLabelTrue ELSE GoToLabelFalse
                    Build that so that you skip building the link if it is the current
                    document, instead making it  ^$GetDocCount$ 

                    ^!InsertHtml Any text with tokens (^p/^t)
                    what you use to actually insert the html you have built

                    There is help on clip programming. That is where 80% of this stuff is.

                    Don
                  • Bob Serack
                    Thanks for the pointers. I ll try and keep my posts to a specific topic. It is easy to get sidetracked! Yes, I just have to keep reading the Clip Programming
                    Message 9 of 13 , May 24, 2006
                      Thanks for the pointers.
                      I'll try and keep my posts to a specific topic.
                      It is easy to get sidetracked!

                      Yes, I just have to keep reading the Clip Programming stuff.
                      There is a lot there and easy to miss stuff.
                      Like where is ^P, ^T, ^&, ^#, defined?
                      I see them being used in samples, but can't find the place in HELP where
                      they are actually defined.
                      Gotta be there somewhere!

                      Anyway, thanks ...
                      Bob


                      _____

                      From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
                      Of Don - HtmlFixIt.com
                      Sent: Wednesday, May 24, 2006 4:20 AM
                      To: ntb-clips@yahoogroups.com
                      Subject: Re: [Clip] inserting document numbers based on open documents


                      Bob Serack wrote:
                      > Yes, I wondered if I could maybe simplify the whole process.
                      > I guess I'll just have to work at it for a while and maybe get something
                      > done.
                      >
                      > This is an example of what I want to insert at the top of each index page
                      > ...
                      > Of course all of this depends on how many index.htm pages are in a set.
                      > But, with a little programming, it could be done.
                      >
                      > <p align="center"><font size="2" face="Verdana, Arial, Helvetica,
                      > sans-serif">Page 3 of 6
                      > <p align="center"><A HREF=" <http://bobserack.com/>
                      > http://bobserack.com/">Home</A>
                      >  
                      > <A HREF="Index2.htm">| Previous Page |</A>
                      > <A HREF="Index.htm"> 1</A>
                      > <A HREF="Index2.htm"> 2</A>
                      >  3 
                      > <A HREF="Index4.htm"> 4</A>


                      I have changed the title obviously. I am confused between groups Jody
                      am I supposed to top or bottom post around here?

                      Anyway,

                      Some helpful commands for you:
                      ^$GetDocCount$ will get the total number of documents

                      ^$GetDocName(Index)$ will tell you the name of a document at a given
                      index position so you can build the links.

                      ^$GetDocIndex(Name)$ will tell you the active documents name - not sure
                      you need this one

                      ^$GetDocIndex$ will tell you the number of the active index -- so using
                      this you can build the little link index easily enough using an if

                      ^!If Integer1 <> Integer2 GoToLabelTrue ELSE GoToLabelFalse
                      Build that so that you skip building the link if it is the current
                      document, instead making it  ^$GetDocCount$ 

                      ^!InsertHtml Any text with tokens (^p/^t)
                      what you use to actually insert the html you have built

                      There is help on clip programming. That is where 80% of this stuff is.

                      Don




                      Fookes Software: http://www.fookes.us, http://www.fookes.com
                      Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm





                      SPONSORED LINKS
                      Affiliate
                      <http://groups.yahoo.com/gads?t=ms&k=Affiliate+program+software&w1=Affiliate
                      +program+software&w2=Construction+software+program&w3=Medical+software+progr
                      am&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwar
                      e+development+program&c=6&s=198&.sig=9KaWuy6FKnRHLoW5F2y04Q> program
                      software Construction
                      <http://groups.yahoo.com/gads?t=ms&k=Construction+software+program&w1=Affili
                      ate+program+software&w2=Construction+software+program&w3=Medical+software+pr
                      ogram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Soft
                      ware+development+program&c=6&s=198&.sig=F3LkPjhe1MkJ4Fq3QQZwUA> software
                      program Medical
                      <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Affiliate+p
                      rogram+software&w2=Construction+software+program&w3=Medical+software+program
                      &w4=Accounting+software+program&w5=Estate+program+real+software&w6=Software+
                      development+program&c=6&s=198&.sig=AwyI7nQBuf_OuJksGRgsXA> software program

                      Accounting
                      <http://groups.yahoo.com/gads?t=ms&k=Accounting+software+program&w1=Affiliat
                      e+program+software&w2=Construction+software+program&w3=Medical+software+prog
                      ram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwa
                      re+development+program&c=6&s=198&.sig=VzCxLFHTZiHmXsWEP_djZQ> software
                      program Estate
                      <http://groups.yahoo.com/gads?t=ms&k=Estate+program+real+software&w1=Affilia
                      te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                      gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                      are+development+program&c=6&s=198&.sig=lMTrEr4oqbyRycvw8--w5g> program real
                      software Software
                      <http://groups.yahoo.com/gads?t=ms&k=Software+development+program&w1=Affilia
                      te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                      gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                      are+development+program&c=6&s=198&.sig=DOR5xh8pu5s-DHxW2MQDrA> development
                      program

                      _____

                      YAHOO! GROUPS LINKS



                      * Visit your group "ntb-clips
                      <http://groups.yahoo.com/group/ntb-clips> " on the web.


                      * To unsubscribe from this group, send an email to:
                      ntb-clips-unsubscribe@yahoogroups.com
                      <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


                      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
                      <http://docs.yahoo.com/info/terms/> .


                      _____




                      [Non-text portions of this message have been removed]
                    • John Zeman
                      ... Just open the Help Topics help file (not the one on the clip language) and do a search for tokens. John
                      Message 10 of 13 , May 24, 2006
                        --- In ntb-clips@yahoogroups.com, "Bob Serack" <bobserack@...> wrote:

                        > There is a lot there and easy to miss stuff.
                        > Like where is ^P, ^T, ^&, ^#, defined?
                        > I see them being used in samples, but can't find the place in HELP where
                        > they are actually defined.
                        > Gotta be there somewhere!
                        >
                        > Anyway, thanks ...
                        > Bob
                        >


                        Just open the Help Topics help file (not the one on the clip language)
                        and do a search for tokens.

                        John
                      • Bob Serack
                        Thanks. How would I know it was in regular HELP??!!!!!! But, I should know to look in both places! Anyway, I found them. Thanks again ... This thread can be
                        Message 11 of 13 , May 24, 2006
                          Thanks.

                          How would I know it was in regular HELP??!!!!!!
                          But, I should know to look in both places!
                          Anyway, I found them.

                          Thanks again ...

                          This thread can be considered done ...




                          Later, BS





                          _____

                          From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
                          Of John Zeman
                          Sent: Wednesday, May 24, 2006 2:03 PM
                          To: ntb-clips@yahoogroups.com
                          Subject: Re: [Clip] inserting document numbers based on open documents


                          --- In ntb-clips@yahoogroups.com, "Bob Serack" <bobserack@...> wrote:

                          > There is a lot there and easy to miss stuff.
                          > Like where is ^P, ^T, ^&, ^#, defined?
                          > I see them being used in samples, but can't find the place in HELP where
                          > they are actually defined.
                          > Gotta be there somewhere!
                          >
                          > Anyway, thanks ...
                          > Bob
                          >


                          Just open the Help Topics help file (not the one on the clip language)
                          and do a search for tokens.

                          John





                          Fookes Software: http://www.fookes.us, http://www.fookes.com
                          Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm





                          SPONSORED LINKS
                          Affiliate
                          <http://groups.yahoo.com/gads?t=ms&k=Affiliate+program+software&w1=Affiliate
                          +program+software&w2=Construction+software+program&w3=Medical+software+progr
                          am&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwar
                          e+development+program&c=6&s=198&.sig=9KaWuy6FKnRHLoW5F2y04Q> program
                          software Construction
                          <http://groups.yahoo.com/gads?t=ms&k=Construction+software+program&w1=Affili
                          ate+program+software&w2=Construction+software+program&w3=Medical+software+pr
                          ogram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Soft
                          ware+development+program&c=6&s=198&.sig=F3LkPjhe1MkJ4Fq3QQZwUA> software
                          program Medical
                          <http://groups.yahoo.com/gads?t=ms&k=Medical+software+program&w1=Affiliate+p
                          rogram+software&w2=Construction+software+program&w3=Medical+software+program
                          &w4=Accounting+software+program&w5=Estate+program+real+software&w6=Software+
                          development+program&c=6&s=198&.sig=AwyI7nQBuf_OuJksGRgsXA> software program

                          Accounting
                          <http://groups.yahoo.com/gads?t=ms&k=Accounting+software+program&w1=Affiliat
                          e+program+software&w2=Construction+software+program&w3=Medical+software+prog
                          ram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softwa
                          re+development+program&c=6&s=198&.sig=VzCxLFHTZiHmXsWEP_djZQ> software
                          program Estate
                          <http://groups.yahoo.com/gads?t=ms&k=Estate+program+real+software&w1=Affilia
                          te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                          gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                          are+development+program&c=6&s=198&.sig=lMTrEr4oqbyRycvw8--w5g> program real
                          software Software
                          <http://groups.yahoo.com/gads?t=ms&k=Software+development+program&w1=Affilia
                          te+program+software&w2=Construction+software+program&w3=Medical+software+pro
                          gram&w4=Accounting+software+program&w5=Estate+program+real+software&w6=Softw
                          are+development+program&c=6&s=198&.sig=DOR5xh8pu5s-DHxW2MQDrA> development
                          program

                          _____

                          YAHOO! GROUPS LINKS



                          * Visit your group "ntb-clips
                          <http://groups.yahoo.com/group/ntb-clips> " on the web.


                          * To unsubscribe from this group, send an email to:
                          ntb-clips-unsubscribe@yahoogroups.com
                          <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


                          * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
                          <http://docs.yahoo.com/info/terms/> .


                          _____




                          [Non-text portions of this message have been removed]
                        • Alec Burgess(g)
                          ... Searching in Help for tokens shows the definition of ^P, ^T (and a couple of others less frequently used) but does *NOT* show the definition ^& (parameter
                          Message 12 of 13 , May 24, 2006
                            Bob, (John):
                            > > Like where is ^P, ^T, ^&, ^#, defined?

                            Searching in Help for tokens shows the definition of ^P, ^T (and a couple of
                            others less frequently used) but does *NOT* show the definition ^&
                            (parameter string), ^#, ^*,^**.

                            For them and a couple of other variations look in the Help on Clips/Index
                            topic "^&" which points to the article "Clip Basics". Towards the bottom of
                            that article ^#, ^* and some other variants (all dealing with filename of
                            current file) are discussed.

                            I have to hunt for them everytime I need them too :-(

                            Regards ... Alec
                            --
                            ----- Original Message -----
                            From: "John Zeman" <john041650@...>
                            To: <ntb-clips@yahoogroups.com>
                            Sent: Wednesday, May 24, 2006 5:02 PM
                            Subject: Re: [Clip] inserting document numbers based on open documents


                            > --- In ntb-clips@yahoogroups.com, "Bob Serack" <bobserack@...> wrote:
                            >
                            > > There is a lot there and easy to miss stuff.
                            > > Like where is ^P, ^T, ^&, ^#, defined?
                            > > I see them being used in samples, but can't find the place in HELP where
                            > > they are actually defined.
                            > > Gotta be there somewhere!
                            > >
                            > > Anyway, thanks ...
                            > > Bob
                            > >
                            >
                            >
                            > Just open the Help Topics help file (not the one on the clip language)
                            > and do a search for tokens.
                            >
                            > John
                            >
                            >
                            >
                            >
                            >
                            >
                            > Fookes Software: http://www.fookes.us, http://www.fookes.com
                            > Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm
                            >
                            > Yahoo! Groups Links
                            >
                            >
                            >
                            >
                            >
                            >
                            >
                            >
                          • Bob Serack
                            I feel better now! I thought I was the only one having trouble finding stuff. Thanks for the tip, Alec. I have a number of other similar questions. Just can t
                            Message 13 of 13 , May 24, 2006
                              I feel better now!
                              I thought I was the only one having trouble finding stuff.
                              Thanks for the tip, Alec.

                              I have a number of other similar questions.
                              Just can't seem to find the definition for them.
                              Maybe I'll start a new thread with them.





                              Later, BS





                              _____

                              From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
                              Of Alec Burgess(g)
                              Sent: Wednesday, May 24, 2006 4:45 PM
                              To: ntb-clips@yahoogroups.com
                              Subject: Re: [Clip] inserting document numbers based on open documents


                              Bob, (John):
                              > > Like where is ^P, ^T, ^&, ^#, defined?

                              Searching in Help for tokens shows the definition of ^P, ^T (and a couple of
                              others less frequently used) but does *NOT* show the definition ^&
                              (parameter string), ^#, ^*,^**.

                              For them and a couple of other variations look in the Help on Clips/Index
                              topic "^&" which points to the article "Clip Basics". Towards the bottom of
                              that article ^#, ^* and some other variants (all dealing with filename of
                              current file) are discussed.

                              I have to hunt for them everytime I need them too :-(

                              Regards ... Alec
                              --
                              ----- Original Message -----
                              From: "John Zeman" <john041650@...>
                              To: <ntb-clips@yahoogroups.com>
                              Sent: Wednesday, May 24, 2006 5:02 PM
                              Subject: Re: [Clip] inserting document numbers based on open documents


                              > --- In ntb-clips@yahoogroups.com, "Bob Serack" <bobserack@...> wrote:
                              >
                              > > There is a lot there and easy to miss stuff.
                              > > Like where is ^P, ^T, ^&, ^#, defined?
                              > > I see them being used in samples, but can't find the place in HELP where
                              > > they are actually defined.
                              > > Gotta be there somewhere!
                              > >
                              > > Anyway, thanks ...
                              > > Bob
                              > >
                              >
                              >
                              > Just open the Help Topics help file (not the one on the clip language)
                              > and do a search for tokens.
                              >
                              > John
                              >
                              >
                              >
                              >
                              >
                              >
                              > Fookes Software: http://www.fookes.us, http://www.fookes.com
                              > Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm
                              >
                              > Yahoo! Groups Links
                              >
                              >
                              >
                              >
                              >
                              >
                              >
                              >



                              Fookes Software: http://www.fookes.us, http://www.fookes.com
                              Fookes Software Mailing Lists: http://www.fookes.us/maillist.htm




                              _____

                              YAHOO! GROUPS LINKS



                              * Visit your group "ntb-clips
                              <http://groups.yahoo.com/group/ntb-clips> " on the web.


                              * To unsubscribe from this group, send an email to:
                              ntb-clips-unsubscribe@yahoogroups.com
                              <mailto:ntb-clips-unsubscribe@yahoogroups.com?subject=Unsubscribe>


                              * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
                              <http://docs.yahoo.com/info/terms/> .


                              _____




                              [Non-text portions of this message have been removed]
                            Your message has been successfully submitted and would be delivered to recipients shortly.