百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

adobe-illustrator-scripts

> 编程语言
开源

这是Adobe Illustrator的剧本集.

197 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

这是Adobe Illustrator的剧本集.

日本語の README はこちらです。

Adobe Illustrator Scripts

This is a collection of scripts for Adobe Illustrator. I created it with simplicity and ease of use in mind.
Click the titles to jump to learn more about the script.
If you find a script that interests you, please download it from .

Artboard

  • Rename Artboard
  • Show Artboard Name
  • Sort Artboards

Color

  • Add Selected Gradients to Swatch
  • Convert to Global / Spot Color
  • Create Color Chart
  • Delete All Swatches
  • Export Color Values to CSV
  • Extract Colors from Gradient
  • Generate Gradient Color
  • Highlight Word
  • Import CSV to Swatch
  • Match Location of Gradient Stop
  • Random Text Color
  • Remove Deleted Global Color
  • Round Color Value
  • Round Location of Gradient Stop
  • Show Color Values
  • Shuffle Gradient Color

Layer

  • Delete Hidden Layers
  • Delete Locked Layers
  • Delete Unused Layers
  • Invert Locked Layer
  • Invert Visible Layer
  • Move Sublayer to Main Layer
  • Rename Layer
  • Unify Layer Colors

Link

  • Bulk Relink
  • Mark Missing Link
  • Relink File Extension
  • Relink File Extension Extra
  • Relink to Folder
  • Rename Linked File
  • Reset to Full Scale
  • Select Embedded Link
  • Select Link
  • Select Missing Link

Path

  • Add Anchor Points
  • Adjust Handle
  • Align in Center of Space
  • Align Objects
  • Close Path
  • Convert All Anchor Points to Corner
  • Create Grid Lines
  • Decrease Selected Anchor Points
  • Disjoin Path
  • Distribute in Space
  • Draw Circumscribed Circle
  • Draw Normal Line
  • Draw Rectangle
  • Draw S-curve
  • Draw Shape on Anchor Point
  • Draw Shape Parallel to Path Segment
  • Extend Handle
  • Extend Line
  • Fit Guide in Artboard
  • Increase Selected Anchor Points
  • Make Circular Guides
  • Make Crosshair Guides
  • Match Selected Object Scales New
  • Move Guides
  • Rearrange Objects
  • Remove Color in Guide Object
  • Select Guides
  • Shift Objects
  • Shift Selected Anchor Points
  • Show Dimensions
  • Shuffle Objects
  • Step and Repeat

Text

  • Add Numeric Separators
  • Convert Type on a Path to Point Type
  • Copy Line Up / Down
  • Copy / Cut Line (empty selection)
  • Create Page Numbers
  • Create Text Parallel to Path Segment
  • Create Threaded Text
  • Delete All Left / Right
  • Delete Trailing Spaces
  • Delete Word
  • Enclose Word in Parentheses
  • Go to Line
  • Go to Next / Previous Text
  • Insert Line Above / Below
  • Justify Content Space Between
  • Move Line Up / Down
  • Rotate Text to Match Path Segment Angle
  • Sort Lines
  • Split Text
  • Split Text at Cursor Position
  • Swap Text Contents
  • Text Align Left / Center / Right

Utility

  • Check Day of Week
  • Close All Documents
  • Compare Scale
  • Export as PDF
  • Measure Distance
  • Sum Numbers
  • Unit Calculator

View

  • Arrange Windows
  • Fit Selected Objects in Window
  • Navigate to First / Last / Next / Previous Artboard
  • Sync View

Preferences

  • Align to Glyph Bounds
  • Constrain Path Dragging on Segment Reshape New
  • Fill New Type Objects With Placeholder Text
  • Paste Remembers Layers
  • Select Same Tint Percentage
  • Show Character Alternates
  • Show Handles
  • Transform Pattern Tiles
  • Use Preview Bounds
  • Zoom to Selection
  • Zoom with Mouse Wheel

Libraries

For developers. Libraries of frequently used functions here.

Installation

Download the zip archive from or Releases and unzip it.
The scripts can be placed anywhere on your computer.
To run the scripts, from File > Scripts > Other Script( ⌘ / Ctrl + F12 ).

[!NOTE] In rare cases, the script may not work if you continue to use it.
In this case, restart Illustrator and try again.

Extensions, software

The following extensions or software make it easy to run scripts.

  • SPAi (Mac / free software)
  • Scripshon Trees (free extension)
  • LAScripts (free extension)
  • Keyboard Maestro (Mac / paid software)
  • AutoHotkey (Windows / free software)

UI

ScriptUI Dialog Builder (SDB) was used to design the UI.
See also: ScriptUI-Dialog-Builder-Joonas.

Development Environment

OS: macOS Ventura 13.7.1
Test: Adobe Illustrator 2020-2024

License

All scripts are licensed under the MIT license.
See the included LICENSE file for more details.

addAnchorPoints.js

This script adds any number of anchor points evenly spaced.
It is a slightly more user-friendly improvement to Object > Path > Add Anchor Points.

Usage

  1. Select two or more anchor points with the Direct Selection Tool, and run this script.
  2. Enter the number of anchor points to add.

[!NOTE] Anchor points for type on a path and area type are also supported.

Requirements

Illustrator CS4 or higher

addNumericSeparators.js

This script changes a number to a 3-digit comma delimited string.

Usage

Select text objects or specify a text range in an editing state, and run this script.

Requirements

Illustrator CS or higher

addSelectedGradientsToSwatch.js

This script adds selected gradients to Swatches.

Usage

Select path objects, and run this script.

[!NOTE] Text object and stroke color are not supported.

Requirements

Illustrator CS or higher

adjustHandle.js

This script adjusts selected handle lengths and angles.

Usage

  1. Select two or more anchor points with the Direct Selection Tool, and run this script.
  2. Select a length and an angle.

Requirements

Illustrator CS4 or higher

alignInCenterOfSpace(Horizontal).js

alignInCenterOfSpace(Vertical).js This script aligns objects in the center of space.

For example, alignInCenterOfSpace(Vertical).js:

Usage

Select three or more objects, and run this script.
The position of alignment depends on the reference point.

[!NOTE] Include or exclude the stroke width depends on the Align panel menu > Use Preview Bounds.
Select at least three objects.

Requirements

Illustrator CS3 or higher

alignObjects.js

This script aligns objects horizontally and vertically at the same time.

Usage

  1. Select any objects, and run this script.

  2. Select the Distribute Objects or the Distribute Spacing.
    If you don't want evenly spaced distribution, uncheck both checkboxes.

  3. To include stroke width, check the Use Preview Bounds checkbox.

  4. Enter a value of the Alignment Position Tolerance. (0 or higher number)

  5. Click the Align icon button.

[!NOTE] The top row and the left-most column are the basis for alignment.
Compound paths, texts, linked files, and embedded files are also supported.

Support units

Point, Pixel, Pica, Inch, Feet, Yard, Millimeter, Centimeter, Meter.
These units depend on the ruler units.

Requirements

Illustrator 2021 or higher

arrangeWindows.js

This script splits and arranges all open windows.

[!TIP] The Arrange document icon has been implemented in the Application Bar since version 2022.

Usage

Just run this script.

[!NOTE] Open at least two files.

Requirements

Illustrator CS6 or higher

bulkRelink.js

This script replaces missing links, linked and embedded files in bulk.

[!IMPORTANT] Since version 2024, the Apply to All checkbox has been removed from the dialog that appears when there are missing link files. As a result, it is no longer possible to replace files in bulk using this dialog.

Usage

  1. Select any missing link, linked or embedded files, and run this script.
  2. Select a new file.
  3. For PDF, select a crop to option and enter a page number from the import options.

[!NOTE] When selecting linked files, select them in the document rather than the Links panel.

Requirements

Illustrator CS6 or higher

checkDayOfWeek.js

This script checks the day of the week.

Usage

Select a date section in the text with the cursor, and run this script.

[!NOTE] If there is no year, it will considered as this year.

Format

The following formats are supported.
YYYY/MM/DD, MM/DD/YYYY, DD/MM/YYYY,
YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY,
YYYY.MM.DD, MM.DD.YYYY, DD.MM.YYYY,
YYYY MM DD, MM DD YYYY, DD MM YYYY,
Jan(uary) (the) DD(st|nd|rd|th)(,) YYYY, MM DD(st|nd|rd|th)(,) YYYY,
DD(st|nd|rd|th) (of) Jan(uary)(,) YYYY, DD(st|nd|rd|th) MM(,) YYYY,
YYYY年MM月DD日, 令和YY年MM月DD日, 平成YY年MM月DD日, 昭和YY年MM月DD日, 大正YY年MM月DD日, 明治YY年MM月DD日

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptadobeadobe-illustratorextendscriptillustrator

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言