🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9363

[JS, CS2]Problem with textWrapPreference and photoshopPath

#9363
From: Jens_Nessenschuk
Date: Tue, 22 Aug 2006 13:32
11 lines
1248 bytes
Hello,

I've got a rectangle with an eps and I want to set this box following textWrapPreference:
curBox.textWrapPreferences.textWrapType = TextWrapTypes.contour;
curBox.textWrapPreferences.contourOptions.contourType = ContourOptionsTypes.photoshopPath;
curBox.textWrapPreferences.textWrapOffset = 0;

JavaScript sets the correct wrapType and contourType, but I can't set the offset of the textWrap. Over the InDesign CS2 userinterface I can set the offset. Then I debug in this Box and in textWrapOffset is the value 1852796517 (TextWrapTypes.none). How can I set the offset? I also can't write the insetFrame in the clippingPath of this pict.

Regards
Jens Nessenschuk
Technical Details
Message-ID: <3bc15965.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e8ad75275ea720a6
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jens_Nessenschuk@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: [JS, CS2]Problem with textWrapPreference and photoshopPath
Message-ID: <3bc15965.-1@webcrossing.la2eafNXanI>
Date: Tue, 22 Aug 2006 06:32:47 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing