• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Documentation: What are your go-to guides and docs?

Engaged ,
Dec 26, 2015 Dec 26, 2015

Copy link to clipboard

Copied

What docs/guides do you go-to when you are scripting in Illustrator?

Here's mine:

Of course, there's ExtendScript Toolkit app which has the "data browser" for when you're connected to Illustrator. And, if you go to the Help menu, you can open the "Object Model Viewer" (which, has never really been very usable/useful IMHO).

What resources/docs/other do you have bookmarked?

TOPICS
Scripting

Views

717

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Valorous Hero ,
Dec 27, 2015 Dec 27, 2015

Copy link to clipboard

Copied

Here are some additional essentials:

executeMenuCommands reference:

[JS] CS6+ executeMenuCommand

live Effect XML guide

PageItem.applyEffect(LiveEffectXML)

XMP reference snippet:

Re: Adobe Illustrator Tags

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2015 Dec 27, 2015

Copy link to clipboard

Copied

I often use to check objects and properties something like below code:

var targetObject = prompt ('define object', 'app.activeDocument.selection[0]');

if (targetObject){

  eval('obj=' + targetObject);

  var result = "";

  for (var a in obj){

  try{

  result += a + " : " + obj + "\r";

  for (var b in obj){

  result += a + "." + b + " : " + obj + "\r";

  }

  } catch (e) {

  result += a + " : NA.\r";

  }

  }

  var w = new Window ("dialog", 'properties');

  var txbx = w.add ("edittext", undefined, result, {multiline: true, scrolling: true});

  txbx.maximumSize.height = w.maximumSize.height - 200;

  txbx.minimumSize.width = 480;

  txbx.minimumSize.height = 300;

  var cl = w.add ("button", undefined, "close", {name: "ok"});

  cl.onClick= function(){w.close();}

  w.show ();

  }

Select object in Illustrator and run it. You will get objects properties and values.

Probably, It helps your research work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 27, 2015 Dec 27, 2015

Copy link to clipboard

Copied

Awesome! Thanks Silly-Vā€Œ and Ten Aā€Œ! Great tips and linkages!

Here's one I forgot to post:

ScriptUI AutoLayout Manager Algorithm (PDF)

I've also resorted to a global Adobe forums search if the Illustrator-specific search doesn't pan out. Sometimes people have solved the same problems in other Adobe apps (most of the time, from what I have experienced, the code posted is directly translatable into Illy).


Lastly, here's a filter for the tag "illustrator-scripting" on Graphic Design Stack Exchange. Does not seem as active as this forum though.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 16, 2016 Jan 16, 2016

Copy link to clipboard

Copied

LATEST

One more to add to the list ā€¦

The PropertyExplorer is a pretty cool tool:


Property Explorer

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines