Article View: adobe.scripting.indesign
Article #18579Feather Problem
From: Chris Haas
Date: Thu, 13 Mar 2003 19:59
Date: Thu, 13 Mar 2003 19:59
31 lines
1805 bytes
1805 bytes
I'm trying to have a script in my palette to do some standard
feathering/shadowing. Everything works fine but the Feather Corner Type
which keeps defaulting to Standard. Here's what I've got:
Dim myIA
Dim myID
Dim myIP
Dim myPoly
Dim myC
Set myIA = CreateObject("InDesign.Application.2.0")
Set myID = myIA.ActiveDocument
Set myC = myID.Colors.Item("Black")
Set myPoly = myID.Selection.Item(1)
myPoly.FillColor = myC
myPoly.FeatherMode = idXPVMStandard
myPoly.FeatherWidth = 9
myPoly.FeatherCornerType = idXPVCDiffusion 'This line seems to not be
applying
myPoly.ShadowMode = idXPSMDrop
myPoly.ShadowBlendMode = idXPBMMultiply
myPoly.ShadowOpacity = 25
myPoly.ShadowXOffset = 5.76
myPoly.ShadowYOffset = 5.76
myPoly.ShadowBlurRadius = 9
myPoly.ShadowColor = myC
No matter if I set the Feather to Diffusion or Rounded it keeps going back
to Sharp when I check on it. Can anyone help me?
Thanks
Technical Details
Message-ID:
<9BF9BC89B546B1392A43A7E10220FFD3@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ec881fe03f1b3310,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-13 12:08:09 PST From: "Chris Haas" <ChrisH@OvationAdvertising.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Feather Problem Message-ID: <9BF9BC89B546B1392A43A7E10220FFD3@in.WebX.la2eafNXanI> Date: Thu, 13 Mar 2003 11:59:30 -0800 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit