2 Replies Latest reply on Apr 1, 2010 2:22 PM by dennis_k

    Retrieving Applied for Drop Shadow

    Level 1
      Hi,

      Indesign scripting doesn't have an 'applied' property for DropShadow, even tho it has em for all the other effects. Anyone knows how i can get through this?

      thanks,
        • 1. Re: Retrieving Applied for Drop Shadow
          Loic.Aigon Adobe Community Professional
          Hi,
          You consider the thing the wrong way.
          Dropshadow is not the starting point but the end of your journey.
          First you have to talk with a object that may have a drop shadow then either get the value or set a value.
          for example, assuming that you select a object that has a drop shadow,
          you can use
          app.selection[0].transparencySettings.dropShadowSettings.angle;
          or
          app.selection[0].transparencySettings.dropShadowSettings;angle=120/* a value between -180 & 180)*/;
          I try to apply a drop shadow on a clear element and it's true I failed. in fact, datas seem to be considered but not applied in real time to the selection. But if I apply a drop shadow manually, the object get the value I ordered formerly.
          Loic
          • 2. Re: Retrieving Applied for Drop Shadow
            dennis_k

            The DropShadowSetting has a mode property which will be either NONE or DROP.  From this you can infer whether or not the drop shadow is applied.