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
The Photoshop User’s Guide to Motion and Video
Get your design work moving with an app you already know and love!
Tasty Tips and Tricks
A smorgasbord of tips to make your work go faster and get better results
Creating Cutout Image Effects with Photoshop
Simulate layers of cutout paper and shadows with a graphic style
