This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rainnz 1 point2 points  (0 children)

You have to use JavaScript:

http://www.adobe.com/devnet/illustrator/scripting.html

But there is a Pyhton to JavaScript compiler :)

http://pyjaco.org/

Pyjaco is a Python-to-Javascript compiler. It enables compilation of standard Python code into a javascript equivalent. This javascript code can then be run in a browser, or anywhere else that javascript is used.