Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #530826

Re: Make PDF from criteria challenge

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy
Subject Re: Make PDF from criteria challenge
Date 2019-09-03 09:21 -0700
Message-ID <gt7i8iFet06U1@mid.individual.net> (permalink)
References <gt61mgF4tguU1@mid.individual.net> <XnsAABF5A978EA7Cko1fe56@46.165.242.75> <ngpsme5cpv68n0lcvkjehc8r8kdg0buh2t@4ax.com> <gt7b7vFdfcdU1@mid.individual.net>

Show all headers | View raw


On 9/3/19 7:21 AM, Snit wrote:
> Joel <joelcrump@gmail.com> wrote:
>> Work Ethic <makehimwork@prescottaz31.net> wrote:
>>> Snit <usenet@gallopinginsanity.com> wrote in
>>> news:gt61mgF4tguU1@mid.individual.net:
>>>
>>>> OK, ran into a challenge today. Will use different data but same
>>>> idea:
...
>> Spoken like Steve Carroll.
>>
> 
> Carroll has now admitted he has no clue how to do it. Got it. Maybe someone
> else will. Maybe not. It was not as straightforward as I hoped — though
> macOS’s Automator made it not too hard.
> 
> I expect Owl could do it on Linux with the command line.
> 
> But the idea is not hard to understand: create a PDF from the pages of
> another PDF that match the criteria of having some specific keyword, while
> maintaining the sort order of those pages.
> 
> Stated another way: create an identical PDF with pages removed that do NOT
> contain a specific keyword.
> 
> One of those things that seems it should be easy but took more creativity
> than I thought it would.

OK, I could make a video showing it... but to help others, here are the 
steps I took:

Step 1: Automator Script
   - Select PDF
   - Split PDF (each page is own file in the same folder).

Step 2: Finder
   Search in the PDF folder for the desired term

Step 3: Automator Script
   - Drag found files to Select Finder Items
   - Combine PDF
   - Rename PDF
   - Move Finder Items (to Desktop)

There is a "filter Finder items" option, so I likely could automate the 
search at some point, but for a one-off was not worth it. Also could 
just rename final file in the Finder.

-- 
Personal attacks from those who troll show their own insecurity. They 
cannot use reason to show the message to be wrong so they try to feel 
somehow superior by attacking the messenger.

They cling to their attacks and ignore the message time and time again.

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Make PDF from criteria challenge Snit <usenet@gallopinginsanity.com> - 2019-09-02 19:32 -0700
  Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-02 20:05 -0700
    Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 00:08 -0700
  Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-02 21:06 -0700
  Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-02 23:53 -0700
  Re: Make PDF from criteria challenge Work Ethic <makehimwork@prescottaz31.net> - 2019-09-03 12:54 +0000
    Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 05:59 -0700
    Re: Make PDF from criteria challenge Joel <joelcrump@gmail.com> - 2019-09-03 09:11 -0400
      Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 06:29 -0700
      Re: Make PDF from criteria challenge Snit <usenet@gallopinginsanity.com> - 2019-09-03 14:21 +0000
        Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 08:16 -0700
        Re: Make PDF from criteria challenge Work Ethic <makehimwork@prescottaz31.net> - 2019-09-03 16:11 +0000
          Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 09:33 -0700
        Re: Make PDF from criteria challenge Snit <usenet@gallopinginsanity.com> - 2019-09-03 09:21 -0700
          Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 09:48 -0700
            Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 11:19 -0700
              Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 15:22 -0700
          Re: Make PDF from criteria challenge Work Ethic <makehimwork@prescottaz31.net> - 2019-09-03 17:15 +0000
            Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 10:33 -0700
    Re: Make PDF from criteria challenge Tig Welder <tigwelder5@nospam.org> - 2019-09-03 09:47 -0400
      Re: Make PDF from criteria challenge Steve Carroll <frelwizzen@gmail.com> - 2019-09-03 07:15 -0700

csiph-web