Skip to content

Commit 2374a7b

Browse files
jhaugaCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c134ef8 commit 2374a7b

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

skills/adobe-illustrator-scripting/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ description: 'Write, debug, and optimize Adobe Illustrator automation scripts us
77

88
Expert guidance for automating Adobe Illustrator through ExtendScript (JavaScript/JSX). This skill covers the Illustrator scripting object model, all major API objects, code patterns, and best practices for writing production-quality `.jsx` scripts.
99

10+
## Bundled Assets
11+
12+
- [`references/object-model-quick-reference.md`](references/object-model-quick-reference.md): Use this as a quick lookup for the Illustrator scripting object model, common document and page item types, and related DOM concepts while writing or debugging scripts.
13+
- `scripts/`: Contains example Illustrator automation scripts you can use as starting points or implementation patterns for common tasks such as document manipulation, exports, batch processing, and DOM usage. Review and adapt these examples when you need working JSX patterns or want to compare behavior while debugging.
1014
## When to Use This Skill
1115

1216
- Writing new Illustrator automation scripts (`.jsx` or `.js` files)
1317
- Debugging or fixing existing Illustrator ExtendScript code
1418
- Manipulating documents, layers, page items, paths, text, or colors programmatically
1519
- Batch-processing Illustrator files or generating artwork from data
1620
- Exporting documents to various formats (PDF, SVG, PNG, EPS, etc.)
17-
- Working with the Illustrator DOM (Application, Document, Layer, PathItem, TextFrameItem, etc.)
21+
- Working with the Illustrator DOM (Application, Document, Layer, PathItem, TextFrame, etc.)
1822
- Creating data-driven graphics using variables and datasets
1923
- Automating print workflows with scripted print options
2024

@@ -654,7 +658,7 @@ The Illustrator JavaScript API contains the following objects, grouped by catego
654658

655659
### Text Objects
656660

657-
`TextFrameItems`, `TextRange`, `TextRanges`, `TextPath`, `Characters`, `Words`, `Paragraphs`, `Lines`, `InsertionPoint`, `InsertionPoints`, `Story`, `Stories`, `CharacterAttributes`, `ParagraphAttributes`, `CharacterStyle`, `CharacterStyles`, `ParagraphStyle`, `ParagraphStyles`, `TextFont`, `TextFonts`, `TabStopInfo`
661+
`TextFrame`, `TextRange`, `TextRanges`, `TextPath`, `Characters`, `Words`, `Paragraphs`, `Lines`, `InsertionPoint`, `InsertionPoints`, `Story`, `Stories`, `CharacterAttributes`, `ParagraphAttributes`, `CharacterStyle`, `CharacterStyles`, `ParagraphStyle`, `ParagraphStyles`, `TextFont`, `TextFonts`, `TabStopInfo`
658662

659663
### Color Objects
660664

skills/adobe-illustrator-scripting/references/object-model-quick-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Application (app)
88
├─ Layer
99
│ ├─ pathItems[] → PathItem → PathPoint[]
1010
│ ├─ compoundPathItems[] → CompoundPathItem
11-
│ ├─ textFrames[] → TextFrameItem
11+
│ ├─ textFrames[] → TextFrame
1212
│ │ ├─ characters[] → TextRange (single char)
1313
│ │ ├─ words[] → TextRange (word)
1414
│ │ ├─ paragraphs[] → TextRange (paragraph)

0 commit comments

Comments
 (0)