Article View: adobe.scripting.indesign
Article #1797center object relative to margins
From: omeldoid
Date: Sat, 17 Jan 2009 10:51
Date: Sat, 17 Jan 2009 10:51
7 lines
1442 bytes
1442 bytes
If I want to center an object with the GUI, I can choose whether it should align relative to the page or its margins. Is there a better option for aligning an object to page margins in a script other than manually calculating the text area and specifying an offset? Thanks.
Technical Details
Message-ID:
<1b6cb178-171d-492d-b3f5-858013e19266@v39g2000pro.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v39g2000pro.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,b22116aca5615c92,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v39g2000pro.googlegroups.com!not-for-mail From: omeldoid@gmail.com Newsgroups: adobe.scripting.indesign Subject: center object relative to margins Date: Sat, 17 Jan 2009 02:51:42 -0800 (PST) Organization: http://groups.google.com Lines: 7 Message-ID: <1b6cb178-171d-492d-b3f5-858013e19266@v39g2000pro.googlegroups.com> NNTP-Posting-Host: 84.255.194.172 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1232189502 19374 127.0.0.1 (17 Jan 2009 10:51:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 17 Jan 2009 10:51:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v39g2000pro.googlegroups.com; posting-host=84.255.194.172; posting-account=y9ZkNwoAAAB3NLcFVSCnXP7B52CBqywd User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5,gzip(gfe),gzip(gfe)