Article View: adobe.scripting.indesign
Article #15081Re: JS: Drop Shadow x/y offset problem
From: Dave_Saunders
Date: Tue, 16 Dec 2003 17:31
Date: Tue, 16 Dec 2003 17:31
9 lines
1121 bytes
1121 bytes
It's a typo in the Scripting Guide. Those should be: shadowXOffset and shadowYOffset Unfortunately, whenJS sees a property it doesn't recognize it just ignores it completely. So, if you have the kind of problem you're having, immediately think: spelling mistake. I went into the debugger to experiment to see what the problem was (although spelling mistake was my first thought because most JS properties capitalize the internal words and in this case X and Y are words). Dave
Technical Details
Message-ID:
<2ccef3af.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!webxReferences:
<2ccef3af.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,fda6f4796a1c75cb X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-16 09:37:57 PST From: Dave_Saunders@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: Drop Shadow x/y offset problem Message-ID: <2ccef3af.0@webx.la2eafNXanI> Date: Tue, 16 Dec 2003 09:31:24 -0800 References: <2ccef3af.-1@webx.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit