A Script to Align Dashed Strokes to Corners in Photoshop
This free script solves the problem of sloppy-looking corners when you use dashed strokes in Photoshop
It’s not hard to create dashed line effects in Photoshop. Just use one of the shape tools or the Line tool and apply a dashed stroke in the Options bar or Properties panel.
Click More Options to customize the stroke pattern and save it, if you wish.
So far, so good. But you may run into difficulty if you have a shape with corners. Photoshop does not have a feature like InDesign and Illustrator do for automatically adjusting the dash pattern to make corners look consistent.

These are not the corners you’re looking for.
And, in a very nice touch, the dialog box also includes anApply button so you can experiment with different values till you get the look you want. You can also simply re-run the script if you want to change the effect at any time after applying it. This script may be a decade old but it’s still quite useful and works like charm. Thanks, David!
Commenting is easier and faster when you're logged in!
Recommended for you
How to Make a Solid Gold Ring With Photoshop
When a Welsh friend wanted to propose to his girlfriend, he thought it would be...
How to Use Photoshop’s Harmonization Filter
A quick and remarkably effective way to make images from different sources look...
How Resolution Affects Image Proxy Quality
When working with images into your InDesign layouts, did you ever notice how som...
