2 Replies Latest reply on Dec 3, 2009 10:22 AM by farquhar85

    Importing Datasets Scripting Question

    farquhar85

      Hi,

       

      I'm new to scripting in Illustrator and I have a pretty simple problem.  When one loads a variable library into an Illustrator document, one must first select the newly loaded data set in the Data Set drop down menu to have it populate the document.  How could I code for this latter step in javascript?

       

      First I would import the library via:

       

      docRef.importVariables(new File(xmlFilePath));

       

      And then what?

       

      Thanks for reading.