This guide introduces how to use Adobe Illustrator's scripting language to automate common tasks, such as creating and editing images, text, and shapes. It also covers how to use scripts to create custom tools and extensions.
This document serves as a comprehensive reference for scripting within Adobe Illustrator CC. It explains the concept of scripting, its benefits over actions, and provides a detailed changelog for various versions including CC 2020 and CC 2017. The guide covers the full JavaScript object model, detailing how to access and manipulate top-level objects, artwork trees, text frames, paths, shapes, and dynamic objects.
Scripts do not use a program's user interface to perform tasks, can execute faster, and can make decisions based on information received from Illustrator, whereas actions use the user interface and have limited facilities for conditional logic.
No, a script can execute an action, but actions cannot execute scripts.