Last active
August 26, 2016 04:44
-
-
Save marianomike/2b529a362898af11a65168ef8d101a27 to your computer and use it in GitHub Desktop.
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
var pages = [doc pages]; | |
for (var i = 0; i < pages.count(); i++){ | |
var page = pages[i]; | |
var artboards = [page artboards]; | |
for (var z = 0; z < artboards.count(); z++){ | |
var artboard = artboards[z]; | |
var layers = [artboard layers]; | |
for(var k = 0; k < layers.count(); k++){ | |
var layer = layers[k]; | |
if(layer.class() == "MSSymbolInstance"){ | |
//do something | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment