Answered
How do you identify pathitem indexes in illustrator programming? (VBS)
Hello,
I am having trouble identifying the index for pathItems and pathPoints in my code and cant seem to work it out. How would one identify these indexes?
Here is my code:
Set app = CreateObject("Illustrator.Application")
Set doc = app.ActiveDocument
Set currentPoint = doc.pathItems(0).pathPoints(-1).anchor
currentPoint.LeftDirection = currentPoint
currentPoint.RightDirection = currentPoint
Could someone please explain this to me?
Thanks.