0
New Here
,
/t5/illustrator-discussions/how-to-get-an-item-selected-direct-selection-tools/td-p/11374513
Aug 20, 2020
Aug 20, 2020
Copy link to clipboard
Copied
Hi.
How to get an item selected Direct Selection Tool.
sel = doc.selection - gets the whole element, but only the selected part is needed.
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Guide
,
Aug 20, 2020
Aug 20, 2020
app.selection[0].selectedPathPoints
is a collection of selected points in a selected path. This is probably the closest thing to the Direct Selection Tool.
Explore related tutorials & articles
Guide
,
/t5/illustrator-discussions/how-to-get-an-item-selected-direct-selection-tools/m-p/11374640#M189771
Aug 20, 2020
Aug 20, 2020
Copy link to clipboard
Copied
app.selection[0].selectedPathPoints
is a collection of selected points in a selected path. This is probably the closest thing to the Direct Selection Tool.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
AlexeyNik
AUTHOR
New Here
,
LATEST
/t5/illustrator-discussions/how-to-get-an-item-selected-direct-selection-tools/m-p/11374683#M189774
Aug 20, 2020
Aug 20, 2020
Copy link to clipboard
Copied
Thanks for the help.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

