Skip to main content
iBabs2
Inspiring
Jun 23, 2018 4:45 PM UTC
Answered

Automate the ability to add PDF's to an existing Index?

Hello!


I am trying to find a way to have an Index automatically add new PDF files once added to a folder? Is this possible?

I am trying to get companies to use the Index feature more, but everyone has the same issue. Great at starting it, not great at adding the new ones to rebuild the existing Index. So, I am trying to find a way to automate that process.

Any thoughts, suggestions or guidance here?

Cheers,

babs

This topic is closed to new replies. Start a new post to keep the conversation going.
BarlaeDC
BarlaeDCCorrect answer
Community Expert
Jul 17, 2018 7:49 PM UTC

Hi Malcolm,

So sorry for the late reply.

I was not successful and have gone back a few times, but still struggling to get this to work.

I am not that familiar with either Automator or AppleScript, have done a little in both, but nothing too complex.

This was my last attempt, but I keep getting stuck in the AppleScript in Automator.

To test it, I placed a folder on my Desktop and named it Index_Adobe - I dropped a few PDF's in there.

I then Created a Index File in Acrobat and named it Training_Files.pdx - this is the Index I would want to try and rebuild each time I place PDF files inside of the Index_Adobe Folder.

I opened up Automator and started a NEW Folder Action.

Here is my script:

.............

te

I feel like I tried every sequence, but I just can't get anything to work.

Would you mind looking at this and give me some guidance. I am sure with a little help, I will have success!!

Thank you!Babs


Hi,

Just looking at the screen shot, you appear to be missing a quote on the following line

do script "myIndex = catalog.getIndex('/Users/barbarapress/Desktop/Training_Files.pdx)"

// which should be

do script "myIndex = catalog.getIndex('/Users/barbarapress/Desktop/Training_Files.pdx')"

// note the single quote before the closing bracket.

Hope this helps, if not will take another look

Malcolm

[Edit, fixed typo]

10 replies

Inspiring
Jun 24, 2018 5:37 PM UTC

If you can leave a computer constantly on, you could create a JavaScript that runs a script the uses the  setIntervalt to run at a determinal time a script to build the index. Not a simple JavaScript tsk.

Translate
iBabs2
iBabs2Author
Inspiring
Jun 26, 2018 9:56 AM UTC

Thank you for your reply.

At least I know it can be done.

I will continue to research this.

Probably need to hire someone to write the script to automate.

Thank you!

babs

Translate
BarlaeDC
Community Expert
Community Expert
Jun 26, 2018 10:00 AM UTC

Hi,

which platform are you on? Windows or mac? As you could probably just automate the rebuilding of the index if the pdf’s are all stored in the same folder or folders?

Regards

Malcolm

Translate