[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

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 <[email protected]>

Similar Messages

  • Illustrator cs3 drop shadow

    I'm trying to add a drop shadow in Illustrator CS3. Unfortunately, when I select the object & choose Effect>Stylize, only glowing edges is available. How do I access drop shadow? I also tried filter>stylize & glowing edges was the only option again.

    Cheryle:
    You are accessing the Photoshop Effects section, move up to Stylize in Illustrator Effects (upper part of Effects menu).
    steve

  • Drop Shadow Problem in CS3

    I'm running PS CS3 in Win7 and have noticed an odd problem.  I have a psd with a layer in which I've knocked-out or erased the background.  I've got a forground subject and the rest is transparent.  I've got another layer beneath it.  I had a drop shadwo and when I increase the Spread all is ok.   Then I increase the Size and I see a whole bunch of drop shadows that have nothing to do with the forground subject.
    There's something there in the layer to cause the shadows.  I've tried several different layers with different colors to reveal whatever is there.  I can't see anything.  However if I use the wand, I can select "something".  If I erase or mask in the location of the drop shadow, it disappears.  Something is there, why can't it be seen?

    Something is there, why can't it be seen?
    Because technically, even 0.00001 opacity is not 100% transparent and you are human - your eye can't discriminate such small differences in color and your computer can't display it to begin with, either. Beyond that you have pretty much answered your own question - they are stray pixels with very low opacities and you have to clean them up properly.
    Mylenium

  • [CS2, CS3] Drop shadow exceeds picture frame

    Hi there,
    maybe this is a well known effect, if not for myself ...
    If you apply a drop shadow to a placed image that has a clipping mask active, you may end up with a shadow area that falls inside the images picture frame as well as outside of it.
    This is OK up to a certain point but what if I have to crop the image on one side or the other? The shadow may exceed the picture frame now where I actually want it to be cut. [Hopefully I am making myself sufficiently clear ...]
    So is there some option connected to the drop shadow feature to restrict the shadow to the
    inside of the picture frame?
    Thanks
    Klaus

    I have experienced similar issues both with clipping paths and with drop shadows. I teach a class for Indesign and an image in one particular exercise I use has a clipping path around a head+shoulders shot of a woman. The path is a P'shop path created from an alpha channel.
    In InDesign the image is on top of a tint background which is on a separate layer. The clipping path is not clipping the full image but is leaving a fine, white, unclipped border around the image area (may be only a single row/column of pixels all the way around). As the clipped image has a drop shadow applied in exactly the way David describes, the drop shadow is also applied to these "unclipped" pixels around the edges.
    I confess that, as this is just an exercise and has never gone to print, I had not noticed this. One of my students did notice it because he had experienced the same problem in preparing a print job and it had cost his company a fair amount of money to correct it.
    John

  • CS3: Drop shadow always on

    I can never open the Transparency dialog without the drop shadow being on by default. If I select an object with no drop shadow applied and then open the Transparency dialog, the drop shadow suddenly applies. I've set the drop shadow to off with no document open but it still insists on always being there.
    The gradient feather option behaves the same way although it is not quite as persistent as the drop shadow.
    This is becoming extremely annoying to the point where I'm beginning to cringe if I need to use transparency.
    iMac G5, OS 10.5.5

    I think I figured out what was going on. I have a custom key command set up to bring up the Transparency menu. However; the key command was applied to the Drop Shadow specifically and not to the Transparency dialog box. This is why the Drop Shadow was on every time the Transparency dialog appeared.
    I've reset my keyboard command to Transparency and not the Drop Shadow. Now when I hit my command I get a clean Transparency dialog with nothing already on. Much better.

  • Muse: Issue: Text Effects options (Drop Shadow, etc) are always disabled.

    Hello,
    I am a new Muse user and I have been using the Learn Tutorials here on helpx.adobe.com to teach myself Muse.
    I have a strange problem. When following through the "Apply Effects to Text" tutorial at: Adding effects to text | Adobe Muse CC tutorials, the options to add a drop shadow are not enabled. On advice from folks on Twitter, I tried the same using System Fonts, Web Fonts and Web Safe fonts. None of them seem to work.
    I am attaching a video capture of the issue.
    Please help :-(
    Adobe Muse CC version 2014.1.0.375 CL 785695 (PC)
    Message was edited by: Sujay Sarma
    Change: Added Muse Version info

    That's worse. If I set Stroke to 1 (you can only do that on the Text Frame and not the text itself), then the Text Effects do get enabled. BUT, the effect is applied to the entire text frame instead of just the text. See this:
    I want the drop shadow for the text not the frame (like how Photoshop does it).

  • Thin white line around black .ai logo and drop shadow question

    Hello,
    There's a very thin white line all around a black .ai logo I made when placed on a color background. It shows up in printing and acrobat (PDF % compatibility) too. Also, is there any way to get a transparent drop shadow (no white boxes) when saving as eps.
    Thanks
    Running OS10.4.11 In Design CS3, intel mac.

    Is the logo rasterized in Illustrator? It sounds like something was antialiased against a white background.
    >Also, is there any way to get a transparent drop shadow (no white boxes) when saving as eps
    No. EPS does not support transparency. If an area is not fully transparent (because nothing is drawn there) then it is fully opaque. PDF and AI support transparency.

  • White boxes appear around drop shadows in PDF's

    I'm exporting a file from InDesign CS3 that contains several graphics that have a drop shadow applied to them (added in InDesign NOT Illustrator). When I view the PDF, there are white boxes that appear behind the graphics with the drop shadows. I need to use the 'Compatibility: Acrobat 4 (PDF 1.3)' setting from the PDF export dialogue box.
    Any help would be greatly appreciated.
    Thanks in advance.

    Sometimes having drop shadows on images (imported) that have spot colors causes this. Converting them to process or RGB helps. I know that applies to imported graphics but it may apply to graphics created in InD sgn. Are your graphics set up in spot colors?

  • Master page objects with drop shadows crossing over spreads

    Mac 10.5.4 - INDesign CS3
    I have a book file that is giving me a pretty hard time. There are several master page spreads that do not show as spreads in the book file. The left page from one set of masters with the right page from another set. There is a grouped row of circles that has drop shadow applied that appears on several master spreads. This is built as two groups that meet in the gutter to give the appearance of a row all the way across the spread. When the group is on the gutter between the two pages of the master spread, The object will show up on the both pages of the book spread, on top of the data from the left page master. If we shut off the drop shadow, no problem. If we move the group 0p5 away from the gutter no problem. The problem is that in the end we want this element to have a drop shadow and to run into the gutter.
    Does InDesign count the spread of the object effect as part of the object itself? That seems like what is happening. Is there a fix (work around) for this?

    The easiest workaround I know of is to paste the object with the drop shadow inside another box such that you can clip it at the gutter. We've cursed this "feature" for years.

  • Drop shadow not printing correctly

    I have an image on top of a solid color and I want to add a very light dropshadow to the image. Everything looks fine on screen, but when I print, either as an InDesign or PDF file, there is a lighter version of the background color that surrounds the image and drop shadow. I imagine there is a setting I need to adjust inorder to print this properly but have not been able to figure it out. Any ideas? I am using CS3.

    Thanks Bob that worked great!
    Now in terms of printing to a PDF in order to upload the file to an online printer, are there any other precautions I need to take to ensure a proper print on their end?

  • Drop shadow not knocking out when creating pdf

    Hi all,
    firstly using ID CS3 and Acrobat 8 on 10.5
    When I use the drop shadow function on text in ID looks great on screen, when I create the pdf file I end up with a big white box around all the text. this is driving me crazy.
    thanks in advance.

    >If this is the case, then convert the colour to process in the swatches panel.
    Unless, of course, it's SUPPOSED to be a spot color. In that case, you will need to make sure that your PDF viewer (e.g., Acrobat) and the printer/RIP/workflow system are set to honor, not ignore overprints.

  • Drop Shadow On JInternalFrame

    I am trying to adapt Romain Guy's DropShadowPanel to make a drop shadow on a JInternalFrame. It seems as the shadow is drawn outside the clip of the frame I have to somehow increase the clip size to see the shadow. It's nearly working but the shadow isn't working when the frame is moved.
    I also tried putting an empty border around the frame and, curiously, that worked in Metal LaF but not Windows which is what I need.
    Can anyone help?
    Note that this class uses Swing labs shadow renderer and GraphicsUtils.
    import java.awt.FlowLayout;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.LayoutManager;
    import java.awt.image.BufferedImage;
    import java.beans.PropertyChangeEvent;
    import java.beans.PropertyChangeListener;
    import javax.swing.JInternalFrame;
    import org.jdesktop.swingx.graphics.ShadowRenderer;
    import org.jdesktop.swingx.graphics.GraphicsUtilities;
    public class DropShadowInternalFrame extends JInternalFrame implements PropertyChangeListener {
        // angle and distance of the shadow from the original subjects
        private float angle = 45.0f;
        private int distance = 20;
        // cached values for fast painting
        private int distance_x = 0;
        private int distance_y = 0;
        // when shadow member is equaled to null, the factory is asked to
        // re-generated it
        private BufferedImage shadow = null;
        private ShadowRenderer factory = null;
        public DropShadowInternalFrame(String title, boolean resizable, boolean closable,
                boolean maximizable, boolean iconifiable) {
             super(title, resizable, closable, maximizable, iconifiable);
            setShadowFactory(factory);       
            computeShadowPosition();
            this.setOpaque(true);
        public ShadowRenderer getShadowFactory() {
            return factory;
        public void setShadowFactory(ShadowRenderer factory) {
            if (factory == null) {
                factory = new ShadowRenderer();
            if (factory != this.factory){
                if (this.factory != null) {
                    this.factory.removePropertyChangeListener(this);
                this.factory = factory;
                this.factory.addPropertyChangeListener(this);
                shadow = null;
                repaint();
        public float getAngle() {
            return angle;
        public void setAngle(final float angle) {
            this.angle = angle;
            computeShadowPosition();
            repaint();
        public int getDistance() {
            return distance;
        public void setDistance(final int distance) {
            this.distance = distance;
            computeShadowPosition();
            repaint();
        private void computeShadowPosition() {
            double angleRadians = Math.toRadians(angle);
            distance_x = (int) (Math.cos(angleRadians) * distance) - factory.getSize() ;
            distance_y = (int) (Math.sin(angleRadians) * distance) - factory.getSize();
        @Override
        public boolean isOpaque() {
            return false;
        @Override
        public void doLayout() {
            super.doLayout();
            shadow = null;
        @Override
        public void paint(Graphics g) {
             Graphics g3 = g.create();
                BufferedImage buffer =
                        GraphicsUtilities.createCompatibleTranslucentImage(getWidth(),
                                                                           getHeight());
                Graphics2D g2 = buffer.createGraphics();
                super.paint(g2);
                shadow = factory.createShadow(buffer);          
                g2.dispose();
                g.setClip(g3.getClip().getBounds().x,
                          g3.getClip().getBounds().y,
                          g3.getClip().getBounds().width + 20,
                          g3.getClip().getBounds().height + 20);
                g.drawImage(shadow, distance_x, distance_y, shadow.getWidth(), shadow.getHeight(), null);        
                g.drawImage(buffer, 0, 0, null);         
                System.out.println("distance_x = " + distance_x + "; distance_y = " + distance_y);           
         g.setClip(g3. getClip());
        public void propertyChange(PropertyChangeEvent evt) {
            shadow = null;
            computeShadowPosition();
            repaint();
    }

    Modifying the clip to draw outside of the frame bounds is not a good idea. Swing expects components to paint only within their bounds. So when you move the frame from position A to position B, swing takes care that the old frame bounds are repainted by the underlying component (desktop pane). The stuff you painted outside of the frame bounds will not be cleared. Maybe you will have some success if you ask the desktop pane to repaint after every resize/move of the internal frame.
    The approach with the empty border seemed more promising and I gave it a try. First thing I found is that some InternalFrameUI's install their own border on the frame. See the updateUI() method below to see how I tried to work around that problem. This works for Metal, Motif and Windows L&F (only when using the windows classic theme).
    Second thing I found is that when using the windows XP theme, the BasicInternalFrameUI.Handler.layoutContainer() method sets the bounds of the internal frame's "north pane" to the whole width of the frame (ignoring any borders). If you really only need this to work in one specific L&F, I imagine it would be possible to subclass the WindowsInternalFrameUI, override the createNorthPane() method to return a subclass of WindowsInternalFrameTitlePane which in turn override the setBounds() method, reducing the width by the amount needed for the shadow.
    The code contains the empty border approach (not working for windows L&F with XP theme enabled). I was not able to test any linux or mac L&Fs.
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.image.BufferedImage;
    import javax.swing.JDesktopPane;
    import javax.swing.JFrame;
    import javax.swing.JInternalFrame;
    import javax.swing.UIManager;
    import javax.swing.border.CompoundBorder;
    import javax.swing.border.EmptyBorder;
    import org.jdesktop.swingx.graphics.GraphicsUtilities;
    import org.jdesktop.swingx.graphics.ShadowRenderer;
    public class DropShadowInternalFrame extends JInternalFrame {
        private static final int SHADOW_WIDTH = 4;
        private ShadowRenderer shadowRenderer = new ShadowRenderer(SHADOW_WIDTH, 0.5f, Color.BLACK);
        private BufferedImage shadow = null;
        public DropShadowInternalFrame() {
            super("Internal Frame", true, true, true, true);
            // BasicInternalFrameUI.Handler.layoutContainer() uses this property:
            // UIManager.put("InternalFrame.layoutTitlePaneAtOrigin", false);
        public static void main(String[] args) throws Exception {
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
            // UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
            // UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
            DropShadowInternalFrame dropShadowInternalFrame = new DropShadowInternalFrame();
            dropShadowInternalFrame.setOpaque(false);
            dropShadowInternalFrame.setBounds(20, 20, 300, 300);
            dropShadowInternalFrame.setVisible(true);
            JDesktopPane desktopPane = new JDesktopPane();
            desktopPane.add(dropShadowInternalFrame);
            desktopPane.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
            JFrame frame = new JFrame("DropShadowInternalFrame");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setContentPane(desktopPane);
            frame.setSize(500, 500);
            frame.setVisible(true);
        @Override
        public void paint(Graphics g) {
            Graphics2D g2 = (Graphics2D) g.create();
            int w = getWidth();
            int h = getHeight();
            if (shadow == null || shadow.getWidth() != w || shadow.getHeight() != h) {
                // recreate shadow if frame size changed
                BufferedImage frameImg = GraphicsUtilities.createCompatibleTranslucentImage(
                        w - 2 * SHADOW_WIDTH, h - 2 * SHADOW_WIDTH);
                super.paint(frameImg.createGraphics());
                shadow = shadowRenderer.createShadow(frameImg);
            g2.drawImage(shadow, 0, 0, null);
            // Motif ALMOST honors the empty internal frame border
            // comment this line out to see interesting artifacts in Motif LaF
            g2.setClip(0, 0, w - 2 * SHADOW_WIDTH, h - 2 * SHADOW_WIDTH);
            super.paint(g2);
            g2.dispose();
        public void updateUI() {
            super.updateUI();
            // wrap the border of the UI delegate inside our empty border
            setBorder(new CompoundBorder(new EmptyBorder(0, 0, 2 * SHADOW_WIDTH, 2 * SHADOW_WIDTH), getBorder()));
    }

  • How do I adjust the color of a glow/drop shadow in a title?

    Some of the preset styles for text/titles have drop shadows or glow effects in various colors. How do you adjust the color? Say if I wanted the Bell Gothic Ice 26 style, but with a orange glow instead of teal?

    every
    In the absence of further information, I will generalize for now.
    You do your text titles color changes in Color Properties in the Titler. The fill in Color Properties is enabled only after you have added a Style.
    In order for the Stroke to be enabled in Color Properties, you need to apply a Style and that style must have a Stroke in its preset. Please read the details of the Titler's Color Properties in the following Adobe documents
    Adobe Premiere Elements Help | Adding color and shadows to titles
    We will be watching for your follow ups.
    Thank you.
    ATR

  • Marks around drop shadows

    This has probably been asked before but when I create a drop shadow around an object in Adobe Indesign CS3 it looks fine in the program but when I export to PDF I get like a square of discoloured white surrounding the effect. I'm not sure if this would appear when printed but I assume it would.
    Is there any way of getting rid of this? Or is this something to do with CMYK's lack of greys?
    Thanks
    Ricky55

    Check this article:
    http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php

  • "scratches" on graphics and strange drop shadow

    I am using Indesign CS3 on Windows XP.
    I am making an entry form for a bike race. There are 4 photos on the cover - all the same odd shape - a rounded lumpy shape. All have the same drop shadow. I can't understand why one of the drop-shadows is different from the other three, when all have the same shape exactly and have received the same treatment. It looks as though the bottom is cut off the bottom of the shadow. Instead of a nice feathered off shadow there is a hard sharp cut-off at its lowest point under the photo.
    Also when I print to pdf, I get the appearance of straight fine scratches across the graphics in odd places on the .pdf as though it has been scratched with a knife. (I am printing a best quality .pdf.)
    I work alone at my home in the wilds of New-Zealand so there is nobody for miles I can ask for help, in fact there is nobody for miles full stop.

    It sounds like the drop shadow is being cut off by the bottom of the frame. Try dragging the frame larger with the selection tool.
    The lines you see are most likely what is called stitching, which is a display phenomenon and should not print. It happens when flattening transparency (your drop shadows). This can be confirmed by zooming in on a white line, or turning off "smooth line art" in the acrobat prefs.
    If this is really a problem, change you PDF export settings to Acrobat 5 or higher to preserve transparency in the PDF.
    Peter

Maybe you are looking for