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!
How would I do that?
I want to have an illustrator based business card that can be updated by xml and then have it out put a pdf without having anything to do with illustrator so that people with no illustrator can modify and create business cards.
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.
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.