Pathfinder Unite all objects on each layer

i wonder if can me make script, wich doing unite shape mode via pathfinder on objects on each layer.

manually activate 1 layer, pushing ctrl + a, clicking on unite shape mode button. layers more 50, making big peace of time.

hi arop16461101,

in illustrator dom isn't direct command pathfinder available.



are there simple paths in selection?

and illustrator version newer cs5?

you can try (only cs6+ ):

// select 2 or more path items app.executemenucommand("group"); app.executemenucommand("live pathfinder add"); app.executemenucommand("expandstyle"); 


have fun.


More discussions in Illustrator Scripting



Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop