Article View: adobe.scripting.indesign
Article #324Re: AlignToPage.jsx every page of a document
From: Glen_Bal
Date: Thu, 26 Mar 2009 09:36
Date: Thu, 26 Mar 2009 09:36
21 lines
1199 bytes
1199 bytes
Yves,
I don't know the scripts but i suggust to create a script that after each pdf it places, selects that placed pdf or give the placed pdf as a variable to the AlignToPage and run it.
Because I never tried running another script from a script, i put "aligntopage.jsx" in a function.
for (..."each pdf"...){
...
var myPlacedPDF = place(...);
alignToPage(myPlacedPDF);
}
function alignToPage(myPlacedPDF) {
...
}
This is more to give an quick idea.
If there is someone who experimented with scripts in scripts i would like to know more :-)
Greetz,
Glen
Technical Details
Message-ID:
<59b8673b.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b8673b.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,755ad78715c02df5 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Glen_Bal@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: AlignToPage.jsx every page of a document Message-ID: <59b8673b.0@webcrossing.la2eafNXanI> Date: Thu, 26 Mar 2009 02:36:03 -0700 References: <59b8673b.-1@webcrossing.la2eafNXanI> Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit