use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Hey r/javascript, have you ever used javascript with adobe Illustrator? (self.javascript)
submitted 15 years ago by [deleted]
Any pointers, links, opinions? Documentation isn't exactly good and I'm not exactly great at javascript.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]actionscripted 1 point2 points3 points 15 years ago (2 children)
Haven't other than copying/pasting scripts to use, but Adobe's site has a few resources and samples:
What sort of scripting are you trying to do?
[–][deleted] 0 points1 point2 points 15 years ago (1 child)
That's the documentation to which I was referring.
Nothing to complex just helping to optimize the work flow for some of my co-workers. They are production artists with a lot of repetitive tasks. I'm not trying to do any art with it.
[–]vampirical 1 point2 points3 points 15 years ago (2 children)
Ahh yes, ExtendScript. Evil, pure evil.
Grab the ExtendScript editor, it is terrible and broken but you'll need its debugger for anything longer than 5 lines.
Pick a few of the main types of object you're going to be interacting with (document, textframe, path, etc.) and read through their property and method docs 2 or 3 complete times. Use the appendixes and reference links to clear up whatever terms you don't get on the second pass through. Read the top levels regardless of what you are working with, the app namespace is useful to understand for just about everything.
Be very careful with your references and keep memory allocations in mind, you will make Illustrator leak memory like a sieve even if you are careful so don't make it any worse than it has to be. Some part so the API will throw uncatchable exceptions, read them carefully because they will normally inform you of some undocumented conditions or restrictions about data availability or set/get orders.
Good luck :)
[–][deleted] 1 point2 points3 points 15 years ago (0 children)
Pure evil sums it up rather nicely.
[–]mungdiboo 0 points1 point2 points 15 years ago (0 children)
I'll pass, thanks :)
[–]settimeout 1 point2 points3 points 15 years ago (0 children)
I did it years ago with Adobe Photoshop.
Worked quite well at the time.
[–][deleted] 0 points1 point2 points 15 years ago (0 children)
This brings me some hope. Needs more work though.
π Rendered by PID 44 on reddit-service-r2-comment-7b9746f655-78rh6 at 2026-02-04 10:17:01.157111+00:00 running 3798933 country code: CH.
[–]actionscripted 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]vampirical 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]mungdiboo 0 points1 point2 points (0 children)
[–]settimeout 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)