Article View: adobe.scripting.indesign
Article #2627Re: Data Merge Help! Naming Help, is it possible??
From: loic_aigon
Date: Fri, 12 Dec 2008 12:22
Date: Fri, 12 Dec 2008 12:22
13 lines
1246 bytes
1246 bytes
replace that :
ad.exportFile(ExportFormat.pdfType, File(docpath+"/"+docname.split(".indd")[0]+"_"+"pg_"+i+P+".pdf"), false, myPDFExportPreset);
by that :
//Assuming you have a labelled textFrame "co";
//You can label a textFrame by selectionning it in the ui and then use the script palette, label toggle > enter a string such as co in the field.
var co = pg[i].textFrames.item("co").contents;
ad.exportFile(ExportFormat.pdfType, File(docpath+"/"+docname.split(".indd")[0]+"_"+co+".pdf"), false, myPDFExportPreset);
PS: someone is Loic :-)
Technical Details
Message-ID:
<59b6cc61.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingReferences:
<59b6cc61.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d07ca9aa0adb1fae X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: loic_aigon <loic_aigon@yahoo.fr> Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Data Merge Help! Naming Help, is it possible?? Message-ID: <59b6cc61.3@webcrossing.la2eafNXanI> Date: Fri, 12 Dec 2008 04:22:42 -0800 References: <59b6cc61.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 17