Copy link to clipboard
Copied
Is there an easy and simple way?
Copy link to clipboard
Copied
Layer > Ungroup Artboards
Or you can create files with:
File > Export > Artboards to files
Copy link to clipboard
Copied
For extendscript:
var idungroupLayersEvent = stringIDToTypeID( "ungroupLayersEvent" );
var desc241 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref1 = new ActionReference();
var idLyr = charIDToTypeID( "Lyr " );
var idOrdn = charIDToTypeID( "Ordn" );
var idTrgt = charIDToTypeID( "Trgt" );
ref1.putEnumerated( idLyr, idOrdn, idTrgt );
desc241.putReference( idnull, ref1 );
executeAction( idungroupLayersEvent, desc241, DialogModes.NO );
Or:
ungroupLayersEvent();
function ungroupLayersEvent() {
var c2t = function (s) {
return app.charIDToTypeID(s);
};
var s2t = function (s) {
return app.stringIDToTypeID(s);
};
var descriptor = new ActionDescriptor();
var reference = new ActionReference();
reference.putEnumerated( s2t( "layer" ), s2t( "ordinal" ), s2t( "targetEnum" ));
descriptor.putReference( c2t( "null" ), reference );
executeAction( s2t( "ungroupLayersEvent" ), descriptor, DialogModes.NO );
}
Or:
app.runMenuItem(stringIDToTypeID("ungroupLayersEvent"));
Copy link to clipboard
Copied
I DONT KNOW
Find more inspiration, events, and resources on the new Adobe Community
Explore Now