Copy link to clipboard
I would need to make a Script in Indesign that always inserts a document (pdf, ai) from specific folders into an open document.
I want to set a Keyboard Shortcut on it so that I can easily insert the logo into the document with a shortcut.
Thank you 🙂
With no documents open
Import your PDF/AI file into the library
You can dock the Library with the rest of your panels (save your workspace if you like)
Then in Edit>Keyboard Shortcuts
Go to Prodcut Area:Panel Menus
Library: Place Item(s)
And then set your keyboard shortcut.
With one item in the library it will work.
If you have more than one item - it will place the item that is selected
You should be able to make use of the Sample that is shipped with InDesign -> PlaceMultiPagePdf.js (Windows->Utilities->Scripts, to open the panel)
This shows how to place a PDF file, and then in the keyboard shortcuts menu item ( Edit->Keyboard shortcuts) you can select any script and assign it a shortcut.
Hope this helps
Just associate shortcut to your script:
//obviously need all teh preliminary checks but basically…
If you really need file to be placed for every single file you work with, use a startup script and an open event listener so it does it automatically (you can of course have a checking routine).