5 Replies Latest reply on Apr 14, 2015 1:48 PM by try67

    Searching through index

    JeffBPaarsa Level 1

      Hello,

       

      In a PDF JavaScript I am using "search.query(cSearchTxt, "Index", cIdxPath)" to do the search using index with the option of "All Words", "Any Word" and "Exact Pharase". I do not need the popup window to be opened and showing me file names and number of hits, I want to copy the file names that would have been displayed on the pop up window to be copied to a new folder...

       

      I am wiling to pay if somebody develops that script to me or show me an example.

       

      Regards,

      Jeff P.

        • 1. Re: Searching through index
          try67 MVP & Adobe Community Professional

          It can't be done. The query method will always open the Advanced Search

          window, and a script has no access to the results it produces.

           

          On Tue, Apr 14, 2015 at 7:40 AM, JeffBPaarsa <forums_noreply@adobe.com>

          • 2. Re: Searching through index
            JeffBPaarsa Level 1

            I am doing this reach by scanning the entire document word by word which is highly slow and time consuming... any faster way through index or ...?

                   From: try67 <forums_noreply@adobe.com>

            To: Jeff Paarsa <jeffbpaarsa@yahoo.com>

            Sent: Tuesday, April 14, 2015 12:57 AM

            Subject:  Searching through index

                

             

             

            Searching through index

            created by try67 in JavaScript - View the full discussionIt can't be done. The query method will always open the Advanced Searchwindow, and a script has no access to the results it produces. On Tue, Apr 14, 2015 at 7:40 AM, JeffBPaarsa <forums_noreply@adobe.com> If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7436429#7436429 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7436429#7436429 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in JavaScript by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

             

            • 3. Re: Searching through index
              try67 MVP & Adobe Community Professional

              Using an index is the fastest way, but your control over it using a script is very limited.

              One possible thing that can be done is to save the search results as a CSV file and then use a script to process that file, which can provide a list of all the files where matches were found.

              • 4. Re: Searching through index
                JeffBPaarsa Level 1

                I want that to be done without human intervention and it is not only one text string that I search for at this time, there are multiple text string... I have the action script that I only start, it runs by itself but it takes a while to finish...

                       From: try67 <forums_noreply@adobe.com>

                To: Jeff Paarsa <jeffbpaarsa@yahoo.com>

                Sent: Tuesday, April 14, 2015 1:16 PM

                Subject:  Searching through index

                    

                 

                 

                Searching through index

                created by try67 in JavaScript - View the full discussionUsing an index is the fastest way, but your control over it using a script is very limited.One possible thing that can be done is to save the search results as a CSV file and then use a script to process that file, which can provide a list of all the files where matches were found. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7438490#7438490 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7438490#7438490 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 

                 

                Start a new discussion in JavaScript by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

                 

                • 5. Re: Searching through index
                  try67 MVP & Adobe Community Professional

                  Pretty much nothing can be done in Acrobat without human intervention.