Highlighted

How to get an item selected Direct Selection Tools.

New Here ,
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.

 

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. 

 

 

Topics

Scripting

Views

76

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to get an item selected Direct Selection Tools.

New Here ,
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.

 

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. 

 

 

Topics

Scripting

Views

77

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Contributor ,
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. 

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

Thanks for the help.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...