How would I find a blank line of text via "Find Text Line"?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Marker0077
    Forum Member
    • Sep 2002
    • 39

    How would I find a blank line of text via "Find Text Line"?

    How would I find a blank line of text via "Find Text Line"?
  • Darryl
    Indigo Rose Staff Member
    • Jul 2001
    • 1908

    #2
    Re: How would I find a blank line of text via "Find Text Line"?

    Hi,

    I couldn't find a method for accomplishing that with the Find Text Line action. I believe what you will need to do is create a loop to move through each line in the text file and then use a Get Text Line action. The contents of that variable would then be an empty string, "".

    Hope that helps.

    Comment

    • Worm
      Indigo Rose Customer
      • Jul 2002
      • 3971

      #3
      Re: How would I find a blank line of text via "Find Text Line"?

      You might try looking for Carriage Return / Line Field too.

      #ASC_CR# with a value of 13
      #ASC_LF# with a value of 10

      Comment

      • Darryl
        Indigo Rose Staff Member
        • Jul 2001
        • 1908

        #4
        Re: How would I find a blank line of text via "Find Text Line"?

        I actually tried that method, however I couldn't get it to work, but I certainly could have been doing something wrong.

        Comment

        • Marker0077
          Forum Member
          • Sep 2002
          • 39

          #5
          Re: How would I find a blank line of text via "Find Text Line"?

          Well, first of all I'm not exactly sure how I would code that.

          Second of all, all I am looking to do is remove all blank lines of text in this text file. Perhaps there is a simpler way of going about doing this?

          Comment

          • Worm
            Indigo Rose Customer
            • Jul 2002
            • 3971

            #6
            Re: How would I find a blank line of text via "Find Text Line"?

            Try this.

            Comment

            • Marker0077
              Forum Member
              • Sep 2002
              • 39

              #7
              Re: How would I find a blank line of text via "Find Text Line"?

              I'm sorry, I do not know what I am supposed to do with this. I get what the text file is for, but I am not sure what the .am4 files are for or why you included .wav files with it?

              Comment

              • Worm
                Indigo Rose Customer
                • Jul 2002
                • 3971

                #8
                Re: How would I find a blank line of text via "Find Text Line"?

                So Sorry, I didn't look to see where you were posting. When I read your post, I assumed it was for AutoMedia Studio.

                I'll repost with a sample from SF [img]/ubbthreads/images/icons/smile.gif[/img]

                Comment

                • Marker0077
                  Forum Member
                  • Sep 2002
                  • 39

                  #9
                  Re: How would I find a blank line of text via "Find Text Line"?

                  I would appreciate that.

                  I am not the 1337 c0din m0nk that you folks are. [img]/ubbthreads/images/icons/smile.gif[/img]

                  Comment

                  • Marker0077
                    Forum Member
                    • Sep 2002
                    • 39

                    #10
                    Re: How would I find a blank line of text via "Find Text Line"?

                    ummm, please forgive me if I seem rude, but when will you be posting that?

                    Comment

                    • Worm
                      Indigo Rose Customer
                      • Jul 2002
                      • 3971

                      #11
                      Re: How would I find a blank line of text via "Find Text Line"?

                      Sorry,

                      I haven't been at my machine that has SF on it lately.

                      I threw this together, but I haven't tested it thoroughly. It certainly should get you on the right path anyhow.

                      Download

                      Comment

                      • Darryl
                        Indigo Rose Staff Member
                        • Jul 2001
                        • 1908

                        #12
                        Re: How would I find a blank line of text via "Find Text Line"?

                        I just sent you a project file as well to take a look at.

                        Comment

                        Working...
                        X