🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1782

Re: selecting text frames on multiple pages

#1782
From: loic_aigon
Date: Mon, 26 Jan 2009 21:34
6 lines
1060 bytes
you cannot select all textframes at once as you can't do in the UI.
however you can create a collection of textframes and loop thought it to move the positions.
var mytf = app.activeDocument.textFrames.everyItem().getElements();
for(i=0; i<mytf.length; i++) { 	var x = mytf[i].geometricBounds[1]; 	var y = 2 //for example; 	mytf[i].move([x,y]); } I tried [undefined,2] but it seems you cannot avoid move only one axis only.

Loic
Technical Details
Message-ID: <59b7ad4b.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b7ad4b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b6f8c90b1db063ab
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!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: selecting text frames on multiple pages
Message-ID: <59b7ad4b.1@webcrossing.la2eafNXanI>
Date: Mon, 26 Jan 2009 13:34:17 -0800
References: <59b7ad4b.-1@webcrossing.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit