Skip navigation
Ineedsleep
Currently Being Moderated

run jsx from outside illustrator

Jun 21, 2012 8:58 AM

I am trying to automate the process of making business cards. I have figured out how to get variables from an xml file, now I want there to be a script that runs when either the xml file is updated or when a webpage is loaded, it should be completely independent of illustrator. So if the xml is updated it goes through and crunches out new versions of the cards and saves the pdf somwhere (I have this currently set with an action), with out me being involved.

 

I want to be finished with business cards!

 
Replies
  • Currently Being Moderated
    Jun 21, 2012 9:38 AM   in reply to Ineedsleep

    Okay.

     

     

    Was there a question there?

     

    You'll want to script the OS, not illustrator, if you want zombie processess.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2012 10:59 AM   in reply to Ineedsleep

    Well.... that's an OS question, not an Illustrator question. And I'm not entirely certain how anyone could answer even if they wanted to since you've posted absolutely zero information about your working environment.

     

    And if Illustrator is the application being used to make edits... you can't script it for those without illustrator. You can't create PDFs from Illustrator without using Illustrator.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2012 11:30 AM   in reply to Ineedsleep

    No. As I've posted, you can script the OS.

     

    You can configure an automated OS script to open illustrator update files, save as PDF, then close Illustrator. So it would run without you touching Illustrator specifically. In most cases, you could set the script to auto-run when the xml file is updated. But, also as I've posted, how you do this depends on whatever operating system you're running. Applescript can do it on the Mac. VBscript should havndle it okay in Windows.

     

    In either case.... you will need to have Illustrator on the machine.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points