2 Replies Latest reply on Jul 1, 2008 3:13 AM by (Steven_van_Wel)

    [AS] [CS3] Enable Drop Shadow

      Dear all,

      Having problems to apply drop shadow to an rectangle/textframe
      Would love help with this one;

      tell myObject
      tell object style content effects category settings
      set enable drop shadow to true
      end tell

      tell drop shadow setting preferences
      set angle to 135
      set blend mode to multiply
      set distance to 3.492
      set effect color to "Black"
      set opacity to 65
      set size to 1.764
      set x offset to 2.469
      set y offset to 2.269
      end tell
      end tell

      Kind regards,
      - Steven
        • 1. Re: [AS] [CS3] Enable Drop Shadow
          sstanleyau Level 4
          As of CS3,drop shadows are handled via the various (fill/stroke/content/all)<br />transparency settings. This should give you an idea:<br /><br />tell application "Adobe InDesign CS3"<br />    tell active document<br />        tell page item 1<br />            tell transparency settings<br />                set properties of drop shadow settings to {mode:drop, use<br />global light:true, opacity:80.0, spread:20.0, blend mode:multiply,<br />noise:5.0, x offset:"1p", effect color:"Black"}<br />            end tell<br />        end tell<br />    end tell<br />end tell<br /><br /><br />-- <br />Shane Stanley <sstanley@myriad-com.com.au>
          • 2. Re: [AS] [CS3] Enable Drop Shadow
            Level 1
            Shane, thanks! Just what I needed.