🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15085

JS: Assigning text wrap attributes to a selected object

#15085
From: Keith_Gilbert
Date: Tue, 16 Dec 2003 19:13
5 lines
942 bytes
I'm trying to assign a text wrap to a selected object. I understand that the text wrap mechanism for scripting changed from ID 2 to ID CS. What am I doing wrong? (JS, ID CS, Windows XP)

var mySelection = app.selection[0];
mySelection.textWrapType = 1651729523
mySelection.textWrapOffset = [10,10,10,10]
Technical Details
Message-ID: <2ccef493.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx

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