Question
Help on Illustrator Script, Create New path object based on selection
Hi,
i am trying to create a jsx script for illustrator which will create a new compound path base on selection.
i tried to use the app.activeDocument.selection to create the compound path, but some objects are not selected which needs to be extracted from the result. hope the images below is clarifying my request. how can i exclude the non selected objects from the result?

