Last active
November 4, 2016 20:13
-
-
Save sonburn/a22e93b834fb7673440cb2edcb08b695 to your computer and use it in GitHub Desktop.
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
var selection = context.selection; | |
for (var i = 0; i < selection.count(); i++) { | |
var layer = selection[i]; | |
if ([layer class] === MSSymbolInstance) { | |
layer.setName([layer symbolMaster].name()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment