Announcement

Collapse
No announcement yet.

Drag & Drop Text File with AutoFill Input Box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drag & Drop Text File with AutoFill Input Box

    Can someone please help me.

    I want to drag and drop a text file and take some data from the text file to fill the input field.

    My text file contains:

    Event Type: Birthday Party Event Location: Bistro
    Event Title: Business
    Description: 35 Guest, Blah Blah

    AutoFill Input Boxes
    ----------------------
    Input1 : Birthday Party
    Input2 : Bistro
    Input3 : Business
    Input4 : 35 Guest, Blah Blah

    Input1 = data in between Event Type: and Event Location:
    Input2 = data in between Event Location: and Event Title:
    Input3 = data in between Event Title: and Description:
    Input4 = data in between Description: and the rest of the text

    Any help is appreciated.


    YHB

  • #2
    http://www.indigorose.com/forums/thr...-Drag-amp-Drop

    Comment


    • #3
      Thanks for the info Shrek. I can use that definitely. I just need how to grab those data i need for the inputbox. I'm having a hard time using the String Action. I know that's what I need to accomplish it.

      Thanks again

      Comment


      • #4
        Is there a reason why you cant use xml?

        Comment


        • #5
          The original file is a Microsoft Word 2013 docx. I'm not familiar on XML file.

          Thanks

          Comment


          • #6
            A Microsoft Word file is not a text file. Text files are plain text, readable in any text editor like Notepad.

            On the other hand, MS Word files are document files, and they are actually XML files, zip-compressed into a single container. Without a considerable amount of work, you won't be able to extract the text from a docx document. Think about using a plain text file or a simple XML file, as suggested previously.

            Ulrich

            Comment


            • #7
              Thanks Ulrich for the info. That was really what I'm trying to do to save the docx to a plain text and try to collect the data i need to post in the input box.

              Thanks much

              Comment


              • #8
                Can someone show me how to use the String Action on searching for the first given word and then the second given word and grab the text in between? Thanks in advance.

                Name: Microsoft Location:
                ..1st....................2nd

                The bold letters are the 1st and second given word and the red text is the value i need to transfer in an input box.

                Comment


                • #9
                  Originally posted by yhb View Post
                  Can someone show me how to use the String Action on searching for the first given word and then the second given word and grab the text in between? Thanks in advance.

                  Name: Microsoft Location:
                  ..1st....................2nd

                  The bold letters are the 1st and second given word and the red text is the value i need to transfer in an input box.
                  I think the functions you need to look up are String.Find and String.Mid
                  Plugins or Sources MokoX
                  BunnyHop 2021 Here

                  Comment

                  Working...
                  X