• Not Answered

New features added to the FREE macro: Inner Shadow

At the request of, or challenge from I should say, Jeff Harrison - I have added an extra feature to the above macro. If you run the macro and press the Create Inner Shadow button you get a black inner shadow, or white if the White Shadow checkbox was ticked. 

NEW: Pressing the button with a PLUS sign on it expands the macro interface and provides a button which opens the colour picker dialog. From there you can choose a custom colour for the inner shadow. After choosing your colour press the Apply Inner Shadow button next to the custom colour button to create your inner shadow. I was even kind enough to use the Americanized spelling of the word colour: i.e. color Stick out tongue

Please excust the over-compressed video...here is the macro in action (the macro itself is attached):



[edited by: Brian at 23:32 (GMT -5) on Sat, Apr 9 2011]
BDInnerShadow_v2b.gms

96 Replies - Latest Reply

  • In reply to Brian:

    Just in case it wasn't obvious enough, 1 represents the first shape selected and 2 the second shape selected.



    [edited by: Brian at 3:43 (GMT -5) on Mon, Apr 11 2011]
  • In reply to Brian:

    Hi Brian,

    Inner Shadow: If the objects aro NOT groupped, the effect CAN be applied to them with no problems.

  • In reply to halamisha:

    I received a query from David Milisock regarding the Inner Shadow macro. David's query was in relation to changing the colour of the inner shadow, after applying it.

    The macro was intended to work like this:

    1.       Select a shape, or range of shapes

    2.       Choose a setting and press the  Apply Inner Shadow button, or choose a colour with the Custom button and then apply inner shadow

    3.       If you are not happy with the result, hit the Undo button and repeat steps 1 & 2 with different settings

     

    Pressing the apply inner shadow button again creates a new inner shadow in addition to the original one.

    My understanding of David's query was basically...what if you save the file and come back to it later, or perform dozens more steps and want to come back and change the colour of the inner shadow then? You can't use the Undo button as the inner shadow was created many steps back.

    I gave this some thought and revised the macro a little as noted in the following image:

     

     

    I have sent the macro to David for testing to make sure I haven't introduced any issues with my changes...I have tested myself and it seems fine. Once David confirms all is well I will post the revised macro into the forum.

    Best regards,
    Brian.

  • In reply to Brian:

    hi brian ,

    I did like your macro ,its wonderfull..

    I have a query ,

    Can we change the thickness of the shadow and can it apply outer shadow as well.?



    [edited by: ashish at 23:42 (GMT -5) on Sun, Jun 19 2011]
  • In reply to ashish:

    Could there be a slight refinement to this macro like converting the shadow to a bitmap with transparent background and antialiasing, add a Gaussian blur, and then insert into powerclip?  Or just add a radial for this option?

        Set s1 = OrigSelection.ConvertToBitmapEx(cdrRGBColorImage, False, True, 300, cdrNormalAntiAliasing, True, False, 95)
        s1.Bitmap.ApplyBitmapEffect "Gaussian Blur", "GaussianBlurEffect GaussianBlurRadius=2000,GaussianBlurResampled=0"

  • In reply to Brian:

    please provide us to download teh bd quick snap.gms also

    thanking you

  • In reply to Brian:

    Hellllllllooooooooo Brian; This thing is GRATE works well in Draw X6 Haven't tried in X4 yet. Attached is a sample I done.

          

    I like it better than I do the "Bevel" Tool THANKS, And I OWE you a beer or two

    George



    [edited by: TheSign Guy at 11:04 (GMT -5) on Mon, May 7 2012]
  • Hey Brian,

     

    This is great! Finding many uses for it Big Smile

     

    Thanks

  • In reply to Boomhauer:

    Wow this is fabulous Brian.......just what I am looking for!

    Now all I need to do is work out how to install it Big Smile

  • In reply to TheSign Guy:

    Hi George

    I am glad you have found it to be of some use.

    Thank you to all who have left nice comments. I just realised that I never posted the most recent version of the macro, so I am attaching it here now. David Milisock requested it to be able to handle all colour models including Pantone Colours, so an updated version was made accordingly. I also added an extended section to the macro (click the plus sign) allowing storage of custom colours for future use. These are remembered after the macro (or CorelDraw) has been closed and reopened. I will make a video and type out some instructions as soon as I get time.

    Best regrds,
    Brian.

    BDInnerShadow_v2f.gms
  • In reply to pkg_sriram:

    pkg_sriram

    please provide us to download teh bd quick snap.gms also

    thanking you

     

    Here you go Big Smile

    BDQuickSnapV1b.gms
  • In reply to pkg_sriram:

    pkg_sriram

    please provide us to download teh bd quick snap.gms also

    thanking you

     

    Here you go Big Smile

  • In reply to pkg_sriram:

    pkg_sriram

    please provide us to download teh bd quick snap.gms also

    thanking you

     

    Here you go Sriram

    BDQuickSnapV1b.gms
  • In reply to PINKGEM:

    PINKGEM

    Wow this is fabulous Brian.......just what I am looking for!

    Now all I need to do is work out how to install it Big Smile

    Hello Big Smile

    Jeff has great instructions at this link

    I hope you are doing well. I have to get back to work now.. have a lovely day.

    Best regards,
    Brian.

  • Thank you so much. It is a really useful  macro.