Hello all,
Is it possible to script the pen tool? I don't see it exposed in the javascript API and Script Listener plugin does not seem to record it. I would like to be able to program pen shapes by feeding it a series of (x,y) points. Would appreciate any help on this! thanks!
gene
Scripting the Pen tool
Scripting the Pen tool
Not sure I know what you mean. What I'd like to do is use the pen to make shapes with arbitrary vertexes and contours. Anyway I can do that would be fine by me, I just don't see how to use the tool at all through scripting.
Scripting the Pen tool
You can not script the pen tool. You can use SubPathInfo to define a path then use that to create a path using pathItems.add(). The scripting guide has details and a sample script.