Created
November 21, 2016 11:12
-
-
Save kickbase/c1b9e13197fb32448d199a96f1d5a35b to your computer and use it in GitHub Desktop.
[Illustrator][JSX] double the stroke width of the selected item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
if (app.documents.length > 0) { | |
var selected = app.activeDocument.selection, | |
i, | |
magnification = 2; | |
for (i = 0; i < selected.length; i++) { | |
selected[i].strokeWidth *= magnification; | |
} | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment