Answered
function DropShadow(R , G , B){
var borCol = new RGBColor();
borCol.red = R;
borCol.green = G;
borCol.blue= B;
var doc = app.activeDocument;
var style = doc.graphicStyles[2];
var rndRect = doc.selection[0]
rndRect.fillColor = borCol
style.applyTo(rndRect);
}
drop shadow i am getting but not reflecting exact shadow color
This topic has been closed for replies.
Hey @m1b Thanks for again response
Can we change the dropshadow color without filling color
Can we Only change shadow color not fillcolor
Do you have any idea , It would be very helpful
Yes I agree that would be helpful. Unfortunately, via scripts, we don't have access to the drop shadow information, including the shadow color. If you are applying the dropshadow the first time, it is possible to set the color, but once it is applied, we cannot change it via script. See this post for example.
- Mark
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
