Created
February 12, 2016 16:08
-
-
Save mfyz/f9e6c35cc353848fe568 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
// Select All Text Layers | |
var page = [doc currentPage], | |
layers = [page children] | |
[page deselectAllLayers] | |
var loop = [layers objectEnumerator] | |
while (layer = [loop nextObject]) { | |
if([layer className] == "MSTextLayer") { | |
[layer select:true byExpandingSelection:true] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment