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
// This plugin will add a @3x size to all existing slices and exportable layers, | |
// that already have a @1x and @2x size | |
var p = [doc pages] | |
for (var i = 0; i < [p count]; i++) { | |
var current_page = [p objectAtIndex:i] | |
var exportable_layers = [current_page exportableLayers] | |
for (var l = 0; l < [exportable_layers count]; l++) { | |
var slice_or_layer = [exportable_layers objectAtIndex:l] | |
if ([slice_or_layer exportOptions]) { |