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 One-Hour Ad Deadline
The phone call and the email arrived together. “We’ve reserved a full page ad in...
How to Open Doors in Photoshop
Opening closed doors is a useful Photoshop technique, and you can use it to open...
Creating a Print-Ready File in Affinity Photo
Affinity Photo is a worthy alternative to Photoshop, with much of its popularity...
