0

I want to create a folder on my desktop. I want to be able to drop in there, maybe 10-20 sized and prepped PDFs. As soon as they go in that folder, I want them to open in Indesign into a SINGLE document, but as separate image boxes, with the path to the graphic connected. Would this be Indesign scripts, automator, both, or more? Some help would be greatly appreciated.

1 Answers1

1

Since you are considering Automator, I'm assuming you're working with OS X.

You can set up a folder action with Automator for your watch folder that sits on the desktop, in this folder action, the only thing it needs to do is run an applescript. Here is how the script could look (for InDesign CS6 in my case):

on run {input, parameters}

    tell application "Adobe InDesign CS6"

        activate

        do script "#include ~/desktop/myScript.jsx" language javascript

    end tell

    return input
end run

This will run the script myScript (sitting on the desktop) in InDesign. Additionally you could add some Automator action after the script to remove the files from the Watchfolder again.

In the .jsx you can access all the files currently in the watch folder like this:

var watchFolder = Folder("~/Desktop/InDesignWatchFolder");
var filesArray = watchFolder.getFiles();

The import procedure itself totally depends on your needs and on your PDFs (single page, multi page, placement options etc.) it can be rather simple or become really complex. Scott Zanelli has developed a rather sophisticated free script that you could have a look at. You can download it here: http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-indd-files.php

mdomino
  • 1,195
  • 1
  • 8
  • 22
  • Thanks, mdomino. I actually had a couple more questions. Is it possible to email you or something with details? I can always just ask here as well. – fatrobot Sep 27 '15 at 05:10
  • Hey fatrobot, I don't want to post my email here, so if you would want to get in touch, you could post your email and I'll get in touch. I'm not sure if I'll be able to help though, so it might make sense to just ask here. More people will see it and more people can learn from it. – mdomino Sep 27 '15 at 16:01