3 Replies Latest reply on Feb 12, 2014 1:16 PM by W_J_T

    Drawing compound path from existing artwork

    Isaac McDaniel

      I'm working on a script for my company that sets up templates for internal use.  I've been able to get most of it completed by drawing basic pathItems

      and textFrames. The problem I face now is adding our company logo. In the scripting reference I've found examples of duplicating art from one document to another, but that isn't what I need here.

       

       

      I've approached this by trying to select our company logo in an existing document and in some way capturing the pathPoints so I can use them in the the script that is setting up the templates. However I've not had much luck with this. Ideally everything will be self contained in the one script, so that external files aren't required.  Thoughts?