1
Help on Illustrator Script, Create New path object based on selection
New Here
,
/t5/illustrator-discussions/help-on-illustrator-script-create-new-path-object-based-on-selection/td-p/14633955
May 22, 2024
May 22, 2024
Copy link to clipboard
Copied
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?
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explore related tutorials & articles
Community Expert
,
/t5/illustrator-discussions/help-on-illustrator-script-create-new-path-object-based-on-selection/m-p/14634339#M408309
May 22, 2024
May 22, 2024
Copy link to clipboard
Copied
… how can i exclude the non selected objects from the result?
By sharose creations
Long answer: I'm afraid not at all.
Counter question: How would you solve the task manually?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
sharose creations
AUTHOR
New Here
,
LATEST
/t5/illustrator-discussions/help-on-illustrator-script-create-new-path-object-based-on-selection/m-p/14635132#M408338
May 22, 2024
May 22, 2024
Copy link to clipboard
Copied
Hi, currently i am doing this by selecting each elements 1 by 1 and use the pathfinder to substract.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

