🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15086

Re: JS: Assigning text wrap attributes to a selected object

#15086
From: Olav_Kvern
Date: Tue, 16 Dec 2003 19:58
15 lines
898 bytes
Keith--

Try:



var mySelection = app.selection[0];  
mySelection.textWrapPreferences.textWrapType = TextWrapTypes.boundingBoxTextWrap; 
mySelection.textWrapPreferences.textWrapOffset = [10,10,10,10];

Hope this helps!

Thanks,

Ole
Technical Details
Message-ID: <2ccef493.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccef493.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,aef025214aa7dad8
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-16 12:08:33 PST
From: Olav_Kvern@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: JS: Assigning text wrap attributes to a selected object
Message-ID: <2ccef493.0@webx.la2eafNXanI>
Date: Tue, 16 Dec 2003 11:58:35 -0800
References: <2ccef493.-1@webx.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit