Created
May 29, 2015 17:14
-
-
Save getflourish/f86ecf58d427c81f99d3 to your computer and use it in GitHub Desktop.
replace partial in sketch layer selection
This file contains hidden or 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
| for (var i = 0; i < context.selection.count(); i++) { | |
| var layer = context.selection[i]; | |
| var name = layer.name(); | |
| layer.setName(name.replace("Schwarz", "Orange")); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment