Mombu the Computer Design Forum

Mombu the Computer Design Forum > Computer_Design > Write filename somewhere in a PDF when exporting from InDesign?
REGISTER NOW! Mark Forums Read




Reply
 
Thread Tools Display Modes
1 9th April 14:19
External User
 
Posts: 1
Default Write filename somewhere in a PDF when exporting from InDesign?



Is there a way, when exporting a PDF from InDesign, to somewhere/somehow auto-embed the filename into the resulting PDF? Doesn't need to be "visible" in the job, but needs to be accessible somehow. I'm working with a very difficult client who changes PDF names and then, months later, sends the PDF back with revisions and I have no idea which file the original PDF was created from. I know I can manually enter this information, but I'm looking for a more automated way to do this?
Regards,
Kristin.
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


2 9th April 14:19
white_buffalo
External User
 
Posts: 1
Default Write filename somewhere in a PDF whenexporting from InDesign?



export pdf / select marks and bleeds / select check box that says include page information
  Reply With Quote
3 9th April 16:52
External User
 
Posts: 1
Default Write filename somewhere in a PDF whenexporting from InDesign?


Ah, yea, if only it were that easy (well, then I wouldn't be posting here).
I'm not looking to make this slug into or anything that's printed when they print — I need the info embedded digitally in the resulting PDF...
Regards,
k.
  Reply With Quote
4 9th April 16:52
alferrari
External User
 
Posts: 1
Default Write filename somewhere in a PDF whenexporting from InDesign?


I don't know an automated way, but you can open the pdf in Acrobat, go to File > Document properties, and fill in any of the fields in the Description Tab, and save the file and hope that your very difficult client who changes PDF names, doesn't also change those.

Al
  Reply With Quote
5 9th April 19:08
j_maloney
External User
 
Posts: 1
Default Write filename somewhere in a PDF whenexporting from InDesign?


What about if you crop the slug in Acrobat. Should at least be quicker than typing in doc properties. Can't you retain the bleed but have it cropped for viewing/printing? Sandee?

J
  Reply With Quote
6 9th April 19:08
gerald_singelmann
External User
 
Posts: 1
Default Write filename somewhere in a PDF whenexporting from InDesign?


Put this script into a folder "Startup Scripts" inside your scripts folder. It auto-updates the document metadata every time you save a document. This automatically is saved in an exported PDF.

//InxAfterSafe.jsx
//An InDesign CS3 JavaScript
#targetengine "session"
//Creates a simple event listener.
main();

function main()
{
var myEventListener1 = app.addEventListener("afterSave", setMetadata, false);
var myEventListener2 = app.addEventListener("afterSaveAs", setMetadata, false);
}

function setMetadata()
{
var myFileName = app.activeDocument.name.replace(/\.indd$/i, "");
app.activeDocument.metadataPreferences.documentTit le = myFileName;
app.activeDocument.metadataPreferences.copyrightNo tice = myFileName;
app.activeDocument.metadataPreferences.jobName = myFileName;
}
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666