I try to remove all isolated path points in Illustrator, but I don’t know how to do this. Has anybody done this before?
In Applescript I have to do next actions in Illustrator: select>objects>anchor points and then do delete.
I hope to get some reactions
by isolated point do you mean stray points ?
Thank you for your reaction. Yes, that’s what I meant. I didn’t know the specific term. How to remove all stray point in an Illustrator document?
This is a solution. I found it in this forum:
tell application "Illustrator CS" to activate
tell application "Illustrator CS"
if class of doc is integer or class of doc is string then set doc to document doc
set strayPts to (every path item whose width is 0 and height is 0)
set emptyText to every text frame whose contents is "" or contents is " " or contents is (tab as text) or contents is (return as text)
set deleteItems to strayPts & emptyText
so does that work for you ?
Yes, it works, but searching for all these path items takes a lot of time.