Article View: adobe.scripting.indesign
Article #9063Re: Putting all the elements from one page into another page
From: Dave_Saunders
Date: Thu, 14 Sep 2006 18:40
Date: Thu, 14 Sep 2006 18:40
15 lines
1266 bytes
1266 bytes
I know what you mean.
When I'm working on something of this sort where I'm not quite sure if I'm referencing the right thing, I'll use this:
function selectIt(theObj) {
// Selects object, turns to page and zooms in on it
app.select(theObj,SelectionOptions.replaceWith);
app.activeWindow.zoom(ZoomOptions.fitPage);
app.activeWindow.zoomPercentage = 200
exit()
}
call with with the reference to the object of interest and the script will stop with the object selected, turned to the page it's on and zoomed in.
Dave
Technical Details
Message-ID:
<3bc17bef.17@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossingReferences:
<3bc17bef.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,148c206390c52d9f X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.germany.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Putting all the elements from one page into another page Message-ID: <3bc17bef.17@webcrossing.la2eafNXanI> Date: Thu, 14 Sep 2006 11:40:24 -0700 References: <3bc17bef.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit