diff --git a/CHANGELOG.md b/CHANGELOG.md index 17fa10c..e2dbe03 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -774,20 +774,28 @@ ### 1.0.1 (2024-10-19) ### Bug Fixes - Fixed a bug in which the point text did not toggle in version 2023 or later. +- Fixed a bug in settings that could not toggle when no document was open.

## togglePasteRemembersLayers.js ### 1.0.1 (2024-10-19) ### Bug Fixes -- Fixed a bug in which settings could not toggle when no document is open. +- Fixed a bug in settings that could not toggle when no document was open.

## toggleShowHandles.js ### 1.0.1 (2024-10-19) ### Bug Fixes -- Fixed a bug in which settings could not be changed when no document was open. +- Fixed a bug in settings that could not toggle when no document was open. +

+ + +## UI_Image_Encoder.js +### 1.1.0 (2024-12-07) +### Added +- Added the function to escape quotation marks.

diff --git a/README.md b/README.md index 151a6e8..399705a 100755 --- a/README.md +++ b/README.md @@ -1,28 +1,29 @@ [日本語の README はこちらです。](README_ja.md) # Adobe Illustrator Scripts -[![Download AllScripts.zip](https://img.shields.io/badge/Download-AllScripts.zip-blue)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/AllScripts.zip) +[![Download AllScripts.zip](https://img.shields.io/badge/Download-AllScripts.zip-blue?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/AllScripts.zip) + 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 [![Download](https://img.shields.io/badge/Download-66595c)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest). +If you find a script that interests you, please download it from [![Download](https://img.shields.io/badge/Download-66595c?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest).

### Artboard -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) - [Rename Artboard](#renameArtboardjs) - [Show Artboard Name](#showArtboardNamejs) - [Sort Artboards](#sortArtboardsjs) ### Color -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) - [Add Selected Gradients to Swatch](#addSelectedGradientsToSwatchjs) - [Convert to Global / Spot Color](#convertToGlobalColorjsconvertToSpotColorjs) - [Create Color Chart](#createColorChartjs) - [Delete All Swatches](#deleteAllSwatchesjs) - [Export Color Values to CSV](#exportColorValuesToCSVjs) - [Extract Colors from Gradient](#extractColorsFromGradientjs) -- [Generate Gradient Color](#generateGradientColorjs) `Update` +- [Generate Gradient Color](#generateGradientColorjs) - [Highlight Word](#highlightWordjs) - [Import CSV to Swatch](#importCSVtoSwatchjs) - [Match Location of Gradient Stop](#matchLocationOfGradientStopjs) @@ -34,7 +35,7 @@ If you find a script that interests you, please download it from [![Download](ht - [Shuffle Gradient Color](#shuffleGradientColorjs) ### Layer -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) - [Delete Hidden Layers](#deleteHiddenLayersjs) - [Delete Locked Layers](#deleteLockedLayersjs) - [Delete Unused Layers](#deleteUnusedLayersjs) @@ -45,7 +46,7 @@ If you find a script that interests you, please download it from [![Download](ht - [Unify Layer Colors](#unifyLayerColorsjs) ### Link -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) - [Bulk Relink](#bulkRelinkjs) - [Relink File Extension](#relinkFileExtensionjs) - [Relink File Extension Extra](#relinkFileExtensionExtrajs) @@ -54,9 +55,10 @@ If you find a script that interests you, please download it from [![Download](ht - [Reset to Full Scale](#resetToFullScalejs) - [Select Embedded Link](#selectEmbeddedLinkjs) - [Select Link](#selectLinkjs) +- [Select Missing Link](#selectMissingLinkjs) `New` ### Path -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) - [Add Anchor Points](#addAnchorPointsjs) - [Align in Center of Space](#alignInCenterOfSpaceHorizontaljsalignInCenterOfSpaceVerticaljs) - [Align Objects](#alignObjectsjs) @@ -85,7 +87,7 @@ If you find a script that interests you, please download it from [![Download](ht - [Step and Repeat](#stepAndRepeatjs) ### Text -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) - [Add Numeric Separators](#addNumericSeparatorsjs) - [Convert Type on a Path to Point Type](#convertTypeOnAPathToPointTypejs) - [Copy Line Up / Down](#copyLineDownjscopyLineUpjs) @@ -103,13 +105,13 @@ If you find a script that interests you, please download it from [![Download](ht - [Justify Content Space Between](#justifyContentSpaceBetweenjs) - [Move Line Up / Down](#moveLineDownjsmoveLineUpjs) - [Sort Lines](#sortLinesjs) -- [Split Text](#splitTextjs) `Update` -- [Split Text at Cursor Position](#splitTextAtCursorPositionjs) `Update` +- [Split Text](#splitTextjs) +- [Split Text at Cursor Position](#splitTextAtCursorPositionjs) - [Swap Text Contents](#swapTextContentsjs) - [Text Align Left / Center / Right](#textAlign_CenterjstextAlign_LeftjstextAlign_Rightjs) ### Utility -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) - [Check Day of Week](#checkDayOfWeekjs) - [Close All Documents](#closeAllDocumentsjs) - [Compare Scale](#compareScalejs) @@ -118,30 +120,30 @@ If you find a script that interests you, please download it from [![Download](ht - [Unit Calculator](#unitCalculatorjs) ### View -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) - [Arrange Windows](#arrangeWindowsjs) - [Fit Selected Objects in Window](#fitSelectedObjectsInWindowjs) - [Navigate to First / Last / Next / Previous Artboard](#navigateToFirstArtboardjsnavigateToLastArtboardjsnavigateToNextArtboardjsnavigateToPreviousArtboardjs) - [Sync View](#syncViewjs) ### Preferences -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) -- [Align to Glyph Bounds](#toggleAlignToGlyphBoundsjs) `Bug Fix` -- [Fill New Type Objects With Placeholder Text](#toggleFillNewTypeObjectsWithPlaceholderTextjs) `New` +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +- [Align to Glyph Bounds](#toggleAlignToGlyphBoundsjs) +- [Fill New Type Objects With Placeholder Text](#toggleFillNewTypeObjectsWithPlaceholderTextjs) - [Paste Remembers Layers](#togglePasteRemembersLayersjs) -- [Select Same Tint Percentage](#toggleSelectSameTintPercentagejs) `New` -- [Show Character Alternates](#toggleShowCharacterAlternatesjs) `New` +- [Select Same Tint Percentage](#toggleSelectSameTintPercentagejs) +- [Show Character Alternates](#toggleShowCharacterAlternatesjs) - [Show Handles](#toggleShowHandlesjs) -- [Transform Pattern Tiles](#toggleTransformPatternTilesjs) `New` -- [Use Preview Bounds](#toggleUsePreviewBoundsjs) `New` -- [Zoom to Selection](#toggleZoomToSelectionjs) `New` -- [Zoom with Mouse Wheel](#toggleZoomWithMouseWheeljs) `New` +- [Transform Pattern Tiles](#toggleTransformPatternTilesjs) +- [Use Preview Bounds](#toggleUsePreviewBoundsjs) +- [Zoom to Selection](#toggleZoomToSelectionjs) +- [Zoom with Mouse Wheel](#toggleZoomWithMouseWheeljs)


## Installation [Download](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest) the zip archive from -[![Download](https://img.shields.io/badge/Download-66595c)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest) or +[![Download](https://img.shields.io/badge/Download-66595c?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest) or [Releases](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest) and unzip it. The scripts can be placed anywhere on your computer. To run the scripts, from File > Scripts > Other Script( / Ctrl + F12 ). @@ -180,7 +182,8 @@ See the included LICENSE file for more details. # addAnchorPoints.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script adds any number of anchor points evenly spaced. It is a slightly more user-friendly improvement to Object > Path > Add Anchor Points. @@ -204,7 +207,8 @@ Illustrator CS4 or higher # addNumericSeparators.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script changes a number to a 3-digit comma delimited string. ![Add Numeric Separators](images/addNumericSeparators.png) @@ -223,7 +227,8 @@ Illustrator CS or higher # addSelectedGradientsToSwatch.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script adds selected gradients to Swatches. ![Add Selected Gradients To Swatch](images/addSelectedGradientsToSwatch.png) @@ -245,7 +250,8 @@ Illustrator CS or higher # alignInCenterOfSpace(Horizontal).js
alignInCenterOfSpace(Vertical).js
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script aligns objects in the center of space. For example, alignInCenterOfSpace(Vertical).js: @@ -270,7 +276,8 @@ Illustrator CS3 or higher # alignObjects.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script aligns objects horizontally and vertically at the same time. ![Align Objects](images/alignObjects.png) @@ -303,7 +310,8 @@ Illustrator 2021 or higher # arrangeWindows.js -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + This script splits and arranges all open windows. > [!TIP] @@ -328,7 +336,8 @@ Illustrator CS6 or higher # bulkRelink.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script replaces missing links, linked and embedded files in bulk. > [!IMPORTANT] @@ -355,7 +364,8 @@ Illustrator CS6 or higher # checkDayOfWeek.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script checks the day of the week. ![Check Day Of Week](images/checkDayOfWeek.png) @@ -387,7 +397,8 @@ Illustrator CS4 or higher # closeAllDocuments.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script closes all documents. > [!TIP] @@ -407,7 +418,8 @@ Illustrator CS4 or higher # closePath.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script closes the path objects. ![Close Path](images/closePath.png) @@ -426,7 +438,8 @@ Illustrator CS or higher # compareScale.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script compares the scales of two objects. ![Compare Scale](images/compareScale.png) @@ -450,7 +463,8 @@ Illustrator CC or higher # convertAllAnchorPointsToCorner.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script converts all anchor points to the corner. The anchor point conversion options in the Control panel require the anchor point to be selected, but this script selects the entire object. @@ -475,7 +489,8 @@ Illustrator CS4 or higher # convertToGlobalColor.js
convertToSpotColor.js
-[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script converts any colors in the Swatches panel to global or spot colors. convertToGlobalColor.js: @@ -503,7 +518,8 @@ Illustrator CS or higher # convertTypeOnAPathToPointType.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script converts types on a path to point types. ![Convert Type On A Path To Point Type](images/convertTypeOnAPathToPointType.png) @@ -526,7 +542,8 @@ Illustrator CS or higher # copyLineDown.js
copyLineUp.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's Selection > Copy Line Down( Option / Alt + Shift + ) & Copy Line Up( Option / Alt + Shift + ). @@ -564,7 +581,8 @@ Illustrator CC 2018 or higher # copyLine(emptySelection).js
cutLine(emptySelection).js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's keyboard shortcut "Copy line (empty selection)"( / Ctrl + C ) & "Cut line (empty selection)"( / Ctrl + X ). @@ -598,7 +616,8 @@ Illustrator CC 2018 or higher # createColorChart.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script creates a color chart. Both CMYK and RGB colors are supported. ![Create Color Chart](images/createColorChart.png) @@ -631,7 +650,8 @@ Illustrator CS6 or higher # createGridLines.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script creates grid lines on artboards. ![Create Grid Lines](images/createGridLines.png) @@ -653,7 +673,8 @@ Illustrator CS or higher # createPageNumbers.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to InDesign's Type > Insert Special Character > Markers > Current Page Number. Places a page number at a specified location on the artboards. @@ -684,7 +705,8 @@ Illustrator CS4 or higher # createTextParallelToPathSegment.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script creates a text parallel to a straight segment or a line connecting two anchor points. ![Create Text Parallel to Path Segment](images/createTextParallelToPathSegment.png) @@ -718,7 +740,8 @@ Illustrator 2021 or higher # createThreadedText.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script creates a threaded text. It can also be made from a mixture of point types and path objects. The vertical text is also supported. @@ -750,7 +773,8 @@ Illustrator CC or higher # decreaseSelectedAnchorPointsCW.js
decreaseSelectedAnchorPointsCCW.js
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script decreases selected anchor points clockwise or counterclockwise. For example, decreaseSelectedAnchorPointsCW.js: @@ -770,7 +794,8 @@ Illustrator CS or higher # deleteAllLeft.js
deleteAllRight.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's keyboard shortcut "Delete All Left"( + Backspace ) & "Delete All Right"( + Delete ). @@ -804,7 +829,8 @@ Illustrator CC 2018 or higher # deleteAllSwatches.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script deletes all swatches except None and Registration. ![Delete All Swatches](images/deleteAllSwatches.png) @@ -826,7 +852,8 @@ Illustrator CS or higher # deleteHiddenLayers.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script deletes hidden layers. > [!TIP] @@ -848,7 +875,8 @@ Illustrator CS or higher # deleteLockedLayers.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script deletes locked layers. ![Delete Locked Layers](images/deleteLockedLayers.png) @@ -867,7 +895,8 @@ Illustrator CS or higher # deleteTrailingSpaces.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script deletes trailing spaces and tabs. Both point and area types are supported. @@ -891,7 +920,8 @@ Illustrator CS or higher # deleteUnusedLayers.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script deletes unused layers. ![Delete Unused Layers](images/deleteUnusedLayers.png) @@ -910,7 +940,8 @@ Illustrator CS or higher # deleteWord.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script deletes a word under the cursor. Both point and area types are supported. @@ -939,7 +970,8 @@ Illustrator CC 2018 or higher # disjoinPath.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script breaks apart the path object with anchor points. ![Disjoin Path](images/disjoinPath.png) @@ -961,7 +993,8 @@ Illustrator CS or higher # distributeInSpace(Horizontal).js
distributeInSpace(Vertical).js
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script distributes objects evenly spaced in space. For example, distributeInSpace(Vertical).js: @@ -986,7 +1019,8 @@ Illustrator CS3 or higher # drawCircumscribedCircle.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script draws a circumscribed circle through 3 or 2 anchor points. ![Draw Circumscribed Circle](images/drawCircumscribedCircle.png) @@ -1009,7 +1043,8 @@ Illustrator CS or higher # drawNormalLine.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script draws normal lines (line perpendicular to a tangent) to a curve or line between two anchor points. ![Draw Normal Line](images/drawNormalLine.png) @@ -1041,7 +1076,8 @@ Illustrator CS4 or higher # drawRectangle.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script draws rectangles around selected objects. ![Draw Rectangle](images/drawRectangle.png) @@ -1070,7 +1106,8 @@ Illustrator CS4 or higher # drawShapeOnAnchorPoint.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script draws shapes on anchor points. ![Draw Shape On Anchor Point](images/drawShapeOnAnchorPoint.png) @@ -1097,7 +1134,8 @@ Illustrator CS4 or higher # drawShapeParallelToPathSegment.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script draws a shape parallel to a straight segment or a line connecting two anchor points. ![Draw Shape Parallel to Path Segment](images/drawShapeParallelToPathSegment.png) @@ -1129,7 +1167,8 @@ Illustrator CS4 or higher # encloseWordInParentheses.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script encloses words in parentheses. ![Enclose Word In Parentheses](images/encloseWordInParentheses.png) @@ -1166,7 +1205,8 @@ Illustrator CC 2018 or higher # exportColorValuesToCSV.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script exports color values of a path object or swatches to a CSV file. ![Export Color Values To CSV](images/exportColorValuesToCSV.png) @@ -1192,7 +1232,8 @@ Illustrator CS or higher # extendHandle.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script extends and shrinks handles. It also changes the angle. ![Extend Handle](images/extendHandle.png) @@ -1221,7 +1262,8 @@ Illustrator CS4 or higher # extendLine.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script extends and shrinks path segments. ![Extend Line](images/extendLine.png) @@ -1249,7 +1291,8 @@ Illustrator CS4 or higher # extractColorsFromGradient.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script extracts colors as swatches from the gradient stops. ![Extract Colors From Gradient](images/extractColorsFromGradient.png) @@ -1273,7 +1316,8 @@ Illustrator CS or higher # fitGuideInArtboard.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script fits guide objects in an artboard. ![Fit Guide In Artboard](images/fitGuideInArtboard.png) @@ -1295,7 +1339,8 @@ Illustrator CS or higher # fitSelectedObjectsInWindow.js -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + This script changes the zoom factor that the selected object fills the display. ![Fit Selected Objects In Window](images/fitSelectedObjectsInWindow.png) @@ -1317,7 +1362,8 @@ Illustrator CS or higher # generateGradientColor.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script generates a gradient color from fill colors or swatches. > [!TIP] @@ -1344,7 +1390,8 @@ Illustrator CS4 or higher # goToLine.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's Go > Go to Line/Column( Ctrl + G ). If you assign shortcuts using [Keyboard Maestro](https://www.keyboardmaestro.com), [AutoHotkey](https://www.autohotkey.com) or similar, you will be able to achieve more of a Visual Studio Code feel. @@ -1377,7 +1424,8 @@ Illustrator CC 2018 or higher # goToNextText.js
goToPreviousText.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script moves the cursor to the beginning of the next or previous text while in the text editing state. Both point and area types are supported. @@ -1408,7 +1456,8 @@ Illustrator CC 2018 or higher # highlightWord.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script highlights the searched string by fill color, swatch or character style. Both CMYK and RGB colors are supported. @@ -1439,7 +1488,8 @@ Illustrator CS6 or higher # importCSVtoSwatch.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script imports a CSV file to the Swatches panel. ![Import CSV To Swatch](images/importCSVtoSwatch.png) @@ -1489,7 +1539,8 @@ Illustrator CS or higher # increaseSelectedAnchorPointsCW.js
increaseSelectedAnchorPointsCCW.js
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script increases selected anchor points clockwise or counterclockwise. For example, increaseSelectedAnchorPointsCW.js: @@ -1509,7 +1560,8 @@ Illustrator CS or higher # insertLineAbove.js
insertLineBelow.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's keyboard shortcut "Insert Line Above"( / Ctrl + Shift + Enter ) & "Insert Line Below" ( / Ctrl + Enter ). @@ -1540,7 +1592,8 @@ Illustrator CC 2018 or higher # invertLockedLayer.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script inverts locked layers. ![Invert Locked Layer](images/invertLockedLayer.png) @@ -1559,7 +1612,8 @@ Illustrator CS or higher # invertVisibleLayer.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script inverts visible layers. ![Invert Visible Layer](images/invertVisibleLayer.png) @@ -1578,7 +1632,8 @@ Illustrator CS or higher # justifyContentSpaceBetween.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script adjusts tracking to align point texts at both ends. The vertical text is also supported. ![Justify Content Space Between](images/justifyContentSpaceBetween.png) @@ -1603,7 +1658,8 @@ Illustrator CS or higher # matchLocationOfGradientStop.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script matches the location of the gradient stops and midpoints. ![Match Location Of Gradient Stop](images/matchLocationOfGradientStop.png) @@ -1626,7 +1682,8 @@ Illustrator CS4 or higher # measureDistance.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script is an alternative to the Measure Tool and accurately measures the distance between two anchor points. ![Measure the Distance](images/measureDistance.png) @@ -1655,7 +1712,8 @@ Illustrator CS4 or higher # moveGuides.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script moves all guide objects to a specified layer, frontmost, and backmost. ![Move Guides](images/moveGuides.png) @@ -1681,7 +1739,8 @@ Illustrator CS6 or higher # moveLineDown.js
moveLineUp.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script is equivalent to Visual Studio Code's Selection > Move Line Down( Option / Alt + ) & Move Line Up( Option / Alt + ). @@ -1719,7 +1778,8 @@ Illustrator CC 2018 or higher # moveSublayerToMainLayer.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script moves sublayers to the main layer above. ![Move Sublayer To Main Layer](images/moveSublayerToMainLayer.png) @@ -1741,7 +1801,8 @@ Illustrator CS or higher # navigateToFirstArtboard.js
navigateToLastArtboard.js
navigateToNextArtboard.js
navigateToPreviousArtboard.js
-[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + This script navigates to the first, last, next, or previous artboard while maintaining the view position and zoom factor of the artboard. > [!IMPORTANT] @@ -1769,7 +1830,8 @@ Illustrator CS4 or higher # randomTextColor.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script changes the text color randomly by word, character or sentence. Both CMYK and RGB colors are supported. @@ -1795,7 +1857,8 @@ Illustrator CS4 or higher # rearrangeObjects.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script rearranges selected objects. ![Rearrange Objects](images/rearrangeObjects.png) @@ -1830,7 +1893,8 @@ Illustrator 2021 or higher # relinkFileExtension.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script replaces linked files with the specified file extension, equivalent to InDesign's Links panel menu > Relink File Extension. For more advanced settings, use [relinkFileExtensionExtra.js](#relinkFileExtensionExtrajs). @@ -1858,7 +1922,8 @@ Illustrator CS4 or higher # relinkFileExtensionExtra.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script is an enhanced version of [relinkFileExtension.js](#relinkFileExtensionjs) with more advanced settings for relinking linked files. ![Relink File Extension Extra](images/relinkFileExtensionExtra.png) @@ -1893,7 +1958,8 @@ Illustrator CS6 or higher # relinkToFolder.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script replaces linked files with a file of the same name in the selected folder, equivalent to InDesign's Links panel menu > Relink to Folder. ### Usage @@ -1918,7 +1984,8 @@ Illustrator CS4 or higher # removeColorInGuideObject.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script removes fill and stroke colors in all guide objects. ![Remove Color In Guide Object](images/removeColorInGuideObject.png) @@ -1940,7 +2007,8 @@ Illustrator CS6 or higher # removeDeletedGlobalColor.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script deletes the Deleted Global Colors displayed in the Separations Preview panel. ![Remove Deleted Global Color](images/removeDeletedGlobalColor.png) @@ -1964,7 +2032,8 @@ Illustrator CS or higher # renameArtboard.js -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + This script renames all artboard names at once. ![Rename Artboard](images/renameArtboard.png) @@ -2000,7 +2069,8 @@ Illustrator CS4 or higher # renameLayer.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script renames all layer names at once. ![Rename Layer](images/renameLayer.png) @@ -2038,7 +2108,8 @@ Illustrator CS4 or higher # renameLinkedFile.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script renames the name of the linked files and relink. > [!CAUTION] @@ -2074,7 +2145,8 @@ Illustrator CS4 or higher # resetToFullScale.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script resets the scale to 100% and the rotation angle to 0 degrees for the linked or embedded files. ![Reset To Full Scale](images/resetToFullScale.png) @@ -2093,7 +2165,8 @@ Illustrator CS6 or higher # roundColorValue.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script rounds color values. Both fill and stroke colors are supported. ![Round Color Value](images/roundColorValue.png) @@ -2112,7 +2185,8 @@ Illustrator CS or higher # roundLocationOfGradientStop.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script rounds the location of the gradient color stops and midpoints. Both fill and stroke colors are supported. @@ -2132,7 +2206,8 @@ Illustrator CS or higher # selectEmbeddedLink.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script selects all embedded files. ### Usage @@ -2152,7 +2227,8 @@ Illustrator CS or higher # selectGuides.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script selects all guide objects. ### Usage @@ -2172,7 +2248,8 @@ Illustrator CS6 or higher # selectLink.js -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + This script selects the specified linked files. Select Link @@ -2196,8 +2273,30 @@ Illustrator CS4 or higher +# selectMissingLink.js +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + +This script selects all missing linked files. + +### Usage +Just run this script. + +> [!NOTE] +> Locked and hidden missing files are not selected. The layer also as well. + +### Requirements +Illustrator CS or higher + +
[ ↑ Back to Top ↑ ]
+
+ + + + + # shiftSelectedAnchorPointsCW.js
shiftSelectedAnchorPointsCCW.js
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script shifts selected anchor points clockwise or counterclockwise. For example, shiftSelectedAnchorPointsCW.js: @@ -2217,7 +2316,8 @@ Illustrator CS or higher # showArtboardName.js -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + This script shows the artboard name and size in the document. ![Show Artboard Name](images/showArtboardName.png) @@ -2240,7 +2340,8 @@ Illustrator CS4 or higher # showColorValues.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script shows color values. Both fill and stroke colors are supported. ![Show Color Values](images/showColorValues.png) @@ -2263,7 +2364,8 @@ Illustrator CS or higher # showDimensions.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script shows the dimension of the anchor point between two points of the path objects. > [!TIP] @@ -2295,7 +2397,8 @@ Illustrator CS6 or higher # shuffleGradientColor.js -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + This script shuffles the gradient color. ![Shuffle Gradient Color](images/shuffleGradientColor.png) @@ -2318,7 +2421,8 @@ Illustrator CS or higher # shuffleObjects.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script shuffles the objects. ![Shuffle Objects](images/shuffleObjects.png) @@ -2337,7 +2441,8 @@ Illustrator CS or higher # sortArtboards.js -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + This script sorts the artboards in the Artboards panel. ![Sort Artboards](images/sortArtboards.png) @@ -2359,7 +2464,8 @@ Illustrator CS5 or higher # sortLines.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script sorts lines of the text. The vertical text is also supported. ![Sort Lines](images/sortLines.png) @@ -2389,7 +2495,8 @@ Illustrator CS4 or higher # splitText.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script splits a text by lines, words, or characters. The vertical text is also supported. ![Split Text](images/splitText.png) @@ -2414,7 +2521,8 @@ Illustrator CC or higher # splitTextAtCursorPosition.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script splits a point text at the cursor position. The vertical text is also supported. ![Split Text at Cursor Position](images/splitTextAtCursorPosition.png) @@ -2438,7 +2546,8 @@ Illustrator CS6 or higher # stepAndRepeat.js -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + This script repeatedly duplicates selected objects. It is equivalent to InDesign's Edit > Step and Repeat. ![Step and Repeat](images/stepandRepeat.png) @@ -2464,7 +2573,8 @@ Illustrator CS4 or higher # sumNumbers.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script adds up the numbers in the text. ![Sum Numbers](images/sumNumbers.png) @@ -2487,7 +2597,8 @@ Illustrator CS4 or higher # swapTextContents.js -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script swap the text contents. ![Swap Text Contents](images/swapTextContents.png) @@ -2506,7 +2617,8 @@ Illustrator CS or higher # syncView.js -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + This script synchronizes all open windows with the zoom factor and the view position of the active window. ![Sync View](images/syncView.png) @@ -2528,7 +2640,8 @@ Illustrator CS or higher # textAlign_Center.js
textAlign_Left.js
textAlign_Right.js
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + This script changes the text alignment without moving the position. The vertical text is also supported. For example, textAlign_Center.js: @@ -2548,7 +2661,8 @@ Illustrator CS or higher # toggleAlignToGlyphBounds.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Align panel menu > Align to Glyph Bounds > Point Text and Area Text. ![Toggle Align to Glyph Bounds](images/toggleAlignToGlyphBounds.png) @@ -2567,7 +2681,8 @@ Illustrator 2020 or higher # toggleFillNewTypeObjectsWithPlaceholderText.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > Type > Fill New Type Objects With Placeholder Text. Toggle Fill New Type Objects With Placeholder Text @@ -2586,7 +2701,8 @@ Illustrator 2018 or higher # togglePasteRemembersLayers.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Layers panel menu > Paste Remembers Layers. ![Toggle Paste Remembers Layers](images/togglePasteRemembersLayers.png) @@ -2605,7 +2721,8 @@ Illustrator CC or higher # toggleSelectSameTintPercentage.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > General > Select Same Tint %. Toggle Select Same Tint Percentage @@ -2624,7 +2741,8 @@ Illustrator CC or higher # toggleShowCharacterAlternates.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > Type > Show Character Alternates. Toggle Show Character Alternates @@ -2643,7 +2761,8 @@ Illustrator 2020 or higher # toggleShowHandles.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > Selection & Anchor Display > Anchor Points, Handle, and Bounding Box Display > Show handles when multiple anchors are selected. Toggle Show Handles @@ -2662,7 +2781,8 @@ Illustrator CC or higher # toggleTransformPatternTiles.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > General > Transform Pattern Tiles. Toggle Transform Pattern Tiles @@ -2681,7 +2801,8 @@ Illustrator CC or higher # toggleUsePreviewBounds.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Align panel menu > Use Preview Bounds or the Preferences > General > Use Preview Bounds. Toggle Use Preview Bounds @@ -2700,7 +2821,8 @@ Illustrator CC or higher # toggleZoomToSelection.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > Selection & Anchor Display > Selection > Zoom to Selection. Toggle Zoom to Selection @@ -2719,7 +2841,8 @@ Illustrator 2018 or higher # toggleZoomWithMouseWheel.js -[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) +[![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) + This script toggles the Preferences > General > Zoom with Mouse Wheel. Toggle Zoom with Mouse Wheel @@ -2738,7 +2861,8 @@ Illustrator 2022 or higher # unifyLayerColors.js -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + This script unifies layer colors. ![Unify Layer Colors](images/unifyLayerColors.png) @@ -2761,7 +2885,8 @@ Illustrator CS or higher # unitCalculator.js -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + This script converts almost all units supported by Illustrator. Unit Calculator diff --git a/README_ja.md b/README_ja.md index 192ede3..001cd71 100755 --- a/README_ja.md +++ b/README_ja.md @@ -1,5 +1,6 @@ # Adobe Illustrator Scripts [![Download AllScripts.zip](https://img.shields.io/badge/Download-AllScripts.zip-blue?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/AllScripts.zip) + Adobe Illustratorのスクリプト集です。 タイトルをクリックすると詳細説明に移動します。 @@ -8,149 +9,134 @@ Adobe Illustratorのスクリプト集です。 ### アートボード [![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) -- [**アートボードの名前とサイズを表示**](#アートボードの名前とサイズを表示) showArtboardName.js -- [**アートボードの名前を変更**](#アートボードの名前を変更) renameArtboard.js -- [**アートボードの並べ替え**](#アートボードの並べ替え) sortArtboards.js +- [アートボードの名前とサイズを表示](#アートボードの名前とサイズを表示) +- [アートボードの名前を変更](#アートボードの名前を変更) +- [アートボードの並べ替え](#アートボードの並べ替え) ### カラー [![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) -- [**CSVファイルを読み込む**](#CSVファイルを読み込む) importCSVtoSwatch.js -- [**Deleted Global Color を削除**](#Deleted-Global-Color-を削除) removeDeletedGlobalColor.js -- [**カラー数値をCSVファイルに保存**](#カラー数値をCSVファイルに保存) exportColorValuesToCSV.js -- [**カラー数値を四捨五入**](#カラー数値を四捨五入) roundColorValue.js -- [**カラー数値を表示**](#カラー数値を表示) showColorValues.js -- [**カラーチャートを作成**](#カラーチャートを作成) createColorChart.js -- [**グラデーションのカラー分岐点から色を取り出す**](#グラデーションのカラー分岐点から色を取り出す) extractColorsFromGradient.js -- [**グラデーションのカラー分岐・中間点の位置を同期**](#グラデーションのカラー分岐中間点の位置を同期) matchLocationOfGradientStop.js -- [**グラデーションのカラー分岐・中間点の数値を四捨五入**](#グラデーションのカラー分岐中間点の数値を四捨五入) roundLocationOfGradientStop.js -- [**グラデーションをシャッフル**](#グラデーションをシャッフル) shuffleGradientColor.js -- [**グラデーションをスウォッチに追加**](#グラデーションをスウォッチに追加) addSelectedGradientsToSwatch.js -- [**グラデーションを生成**](#グラデーションを生成) generateGradientColor.js `Update` -- [**グローバルカラーに変換**](#グローバルカラーに変換特色に変換) convertToGlobalColor.js -- [**すべてのスウォッチを削除**](#すべてのスウォッチを削除) deleteAllSwatches.js -- [**テキストの色を変更**](#テキストの色を変更) highlightWord.js -- [**テキストの色をランダムに変更**](#テキストの色をランダムに変更) randomTextColor.js -- [**特色に変換**](#グローバルカラーに変換特色に変換) convertToSpotColor.js +- [CSVファイルを読み込む](#CSVファイルを読み込む) +- [Deleted Global Color を削除](#Deleted-Global-Color-を削除) +- [カラー数値をCSVファイルに保存](#カラー数値をCSVファイルに保存) +- [カラー数値を四捨五入](#カラー数値を四捨五入) +- [カラー数値を表示](#カラー数値を表示) +- [カラーチャートを作成](#カラーチャートを作成) +- [グラデーションのカラー分岐点から色を取り出す](#グラデーションのカラー分岐点から色を取り出す) +- [グラデーションのカラー分岐・中間点の位置を同期](#グラデーションのカラー分岐中間点の位置を同期) +- [グラデーションのカラー分岐・中間点の数値を四捨五入](#グラデーションのカラー分岐中間点の数値を四捨五入) +- [グラデーションをシャッフル](#グラデーションをシャッフル) +- [グラデーションをスウォッチに追加](#グラデーションをスウォッチに追加) +- [グラデーションを生成](#グラデーションを生成) +- [グローバルカラーに変換](#グローバルカラーに変換特色に変換) +- [すべてのスウォッチを削除](#すべてのスウォッチを削除) +- [テキストの色を変更](#テキストの色を変更) +- [テキストの色をランダムに変更](#テキストの色をランダムに変更) +- [特色に変換](#グローバルカラーに変換特色に変換) ### レイヤー [![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) -- [**サブレイヤーをメインレイヤーへ移動**](#サブレイヤーをメインレイヤーへ移動) moveSublayerToMainLayer.js -- [**非表示レイヤーを削除**](#非表示レイヤーを削除) deleteHiddenLayers.js -- [**表示状態を反転**](#表示状態を反転) invertVisibleLayer.js -- [**未使用レイヤーを削除**](#未使用レイヤーを削除) deleteUnusedLayers.js -- [**レイヤーカラーを統合**](#レイヤーカラーを統合) unifyLayerColors.js -- [**レイヤー名の変更**](#レイヤー名の変更) renameLayer.js -- [**ロック状態のレイヤーを削除**](#ロック状態のレイヤーを削除) deleteLockedLayers.js -- [**ロック状態を反転**](#ロック状態を反転) invertLockedLayer.js +- [サブレイヤーをメインレイヤーへ移動](#サブレイヤーをメインレイヤーへ移動) +- [非表示レイヤーを削除](#非表示レイヤーを削除) +- [表示状態を反転](#表示状態を反転) +- [未使用レイヤーを削除](#未使用レイヤーを削除) +- [レイヤーカラーを統合](#レイヤーカラーを統合) +- [レイヤー名の変更](#レイヤー名の変更) +- [ロック状態のレイヤーを削除](#ロック状態のレイヤーを削除) +- [ロック状態を反転](#ロック状態を反転) ### リンク [![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) -- [**埋め込み画像を選択**](#埋め込み画像を選択) selectEmbeddedLink.js -- [**ファイル拡張子にリンクを再設定**](#ファイル拡張子にリンクを再設定) relinkFileExtension.js -- [**ファイル拡張子にリンクを再設定(機能拡張版)**](#ファイル拡張子にリンクを再設定機能拡張版) relinkFileExtensionExtra.js -- [**フォルダに再リンク**](#フォルダに再リンク) relinkToFolder.js -- [**まとめてリンクを再設定**](#まとめてリンクを再設定) bulkRelink.js -- [**リンク画像の名前を変更**](#リンク画像の名前を変更) renameLinkedFile.js -- [**リンク画像を原寸サイズに戻す**](#リンク画像を原寸サイズに戻す) resetToFullScale.js -- [**リンク画像を選択**](#リンク画像を選択) selectLink.js +- [埋め込み画像を選択](#埋め込み画像を選択) +- [ファイル拡張子にリンクを再設定](#ファイル拡張子にリンクを再設定) +- [ファイル拡張子にリンクを再設定(機能拡張版)](#ファイル拡張子にリンクを再設定機能拡張版) +- [フォルダに再リンク](#フォルダに再リンク) +- [まとめてリンクを再設定](#まとめてリンクを再設定) +- [リンク画像の名前を変更](#リンク画像の名前を変更) +- [リンク画像を原寸サイズに戻す](#リンク画像を原寸サイズに戻す) +- [リンク画像を選択](#リンク画像を選択) +- [リンク切れ画像を選択](#リンク切れ画像を選択) `New` ### パス [![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) -- [**アンカーポイントに図形を描く**](#アンカーポイントに図形を描く) drawShapeOnAnchorPoint.js -- [**アンカーポイントの追加**](#アンカーポイントの追加) addAnchorPoints.js -- [**オブジェクトの周囲に長方形を描く**](#オブジェクトの周囲に長方形を描く) drawRectangle.js -- [**オブジェクトの整列**](#オブジェクトの整列) alignObjects.js -- [**オブジェクトの並べ替え**](#オブジェクトの並べ替え) rearrangeObjects.js -- [**オブジェクトをシャッフル**](#オブジェクトをシャッフル) shuffleObjects.js -- [**外接円を描く**](#外接円を描く) drawCircumscribedCircle.js -- [**ガイドオブジェクトの色を削除**](#ガイドオブジェクトの色を削除) removeColorInGuideObject.js -- [**ガイドをアートボードにフィット**](#ガイドをアートボードにフィット) fitGuideInArtboard.js -- [**ガイドを移動**](#ガイドを移動) moveGuides.js -- [**ガイドを選択**](#ガイドを選択) selectGuides.js -- [**繰り返し複製**](#繰り返し複製) stepAndRepeat.js -- [**グリッドラインを作成**](#グリッドラインを作成) createGridLines.js -- [**すべてのアンカーをコーナーポイントに切り替え**](#すべてのアンカーをコーナーポイントに切り替え) convertAllAnchorPointsToCorner.js -- [**選択したアンカーポイントを時計回りに移動**](#選択したアンカーポイントを時計回りに移動選択したアンカーポイントを反時計回りに移動) shiftSelectedAnchorPointsCW.js -- [**選択したアンカーポイントを反時計回りに移動**](#選択したアンカーポイントを時計回りに移動選択したアンカーポイントを反時計回りに移動) shiftSelectedAnchorPointsCCW.js -- [**選択したアンカーポイントを時計回りに増やす**](#選択したアンカーポイントを時計回りに増やす選択したアンカーポイントを反時計回りに増やす) increaseSelectedAnchorPointsCW.js -- [**選択したアンカーポイントを反時計回りに増やす**](#選択したアンカーポイントを時計回りに増やす選択したアンカーポイントを反時計回りに増やす) increaseSelectedAnchorPointsCCW.js -- [**選択したアンカーポイントを時計回りに減らす**](#選択したアンカーポイントを時計回りに減らす選択したアンカーポイントを反時計回りに減らす) decreaseSelectedAnchorPointsCW.js -- [**選択したアンカーポイントを反時計回りに減らす**](#選択したアンカーポイントを時計回りに減らす選択したアンカーポイントを反時計回りに減らす) decreaseSelectedAnchorPointsCCW.js -- [**直線に平行な図形を描く**](#直線に平行な図形を描く) drawShapeParallelToPathSegment.js -- [**ハンドルを伸縮**](#ハンドルを伸縮) extendHandle.js -- [**パスの寸法を表示**](#パスの寸法を表示) showDimensions.js -- [**パスを伸縮**](#パスを伸縮) extendLine.js -- [**パスを閉じる**](#パスを閉じる) closePath.js -- [**パスを分解**](#パスを分解) disjoinPath.js -- [**法線を描く**](#法線を描く) drawNormalLine.js -- [**余白の垂直方向中央に整列**](#余白の垂直方向中央に整列余白の水平方向中央に整列) alignInCenterOfSpace(Vertical).js -- [**余白の水平方向中央に整列**](#余白の垂直方向中央に整列余白の水平方向中央に整列) alignInCenterOfSpace(Horizontal).js -- [**余白の垂直方向に分布**](#余白の垂直方向に分布余白の水平方向に分布) distributeInSpace(Vertical).js -- [**余白の水平方向に分布**](#余白の垂直方向に分布余白の水平方向に分布) distributeInSpace(Horizotal).js +- [アンカーポイントに図形を描く](#アンカーポイントに図形を描く) +- [アンカーポイントの追加](#アンカーポイントの追加) +- [オブジェクトの周囲に長方形を描く](#オブジェクトの周囲に長方形を描く) +- [オブジェクトの整列](#オブジェクトの整列) +- [オブジェクトの並べ替え](#オブジェクトの並べ替え) +- [オブジェクトをシャッフル](#オブジェクトをシャッフル) +- [外接円を描く](#外接円を描く) +- [ガイドオブジェクトの色を削除](#ガイドオブジェクトの色を削除) +- [ガイドをアートボードにフィット](#ガイドをアートボードにフィット) +- [ガイドを移動](#ガイドを移動) +- [ガイドを選択](#ガイドを選択) +- [繰り返し複製](#繰り返し複製) +- [グリッドラインを作成](#グリッドラインを作成) +- [すべてのアンカーをコーナーポイントに切り替え](#すべてのアンカーをコーナーポイントに切り替え) +- [選択したアンカーポイントを時計回り / 反時計回りに移動](#選択したアンカーポイントを時計回り--反時計回りに移動) +- [選択したアンカーポイントを時計回り / 反時計回りに増やす](#選択したアンカーポイントを時計回り--反時計回りに増やす) +- [選択したアンカーポイントを時計回り / 反時計回りに減らす](#選択したアンカーポイントを時計回り--反時計回りに減らす) +- [直線に平行な図形を描く](#直線に平行な図形を描く) +- [ハンドルを伸縮](#ハンドルを伸縮) +- [パスの寸法を表示](#パスの寸法を表示) +- [パスを伸縮](#パスを伸縮) +- [パスを閉じる](#パスを閉じる) +- [パスを分解](#パスを分解) +- [法線を描く](#法線を描く) +- [余白の垂直 / 水平方向中央に整列](#余白の垂直--水平方向中央に整列) +- [余白の垂直 / 水平方向に分布](#余白の垂直--水平方向に分布) ### テキスト [![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) -- [**カーソル位置の単語を削除**](#カーソル位置の単語を削除) deleteWord.js -- [**カーソルの左側をすべて削除**](#カーソルの左側をすべて削除カーソルの右側をすべて削除) deleteAllLeft.js -- [**カーソルの右側をすべて削除**](#カーソルの左側をすべて削除カーソルの右側をすべて削除) deleteAllRight.js -- [**カーソルを次のテキストへ移動**](#カーソルを次のテキストへ移動カーソルを前のテキストへ移動) goToNextText.js -- [**カーソルを前のテキストへ移動**](#カーソルを次のテキストへ移動カーソルを前のテキストへ移動) goToPreviousText.js -- [**行に移動**](#行に移動) goToLine.js -- [**行の並べ替え**](#行の並べ替え) sortLines.js -- [**行末のスペースを削除**](#行末のスペースを削除) deleteTrailingSpaces.js -- [**行を上へ移動**](#行を上へ移動行を下へ移動) moveLineUp.js -- [**行を下へ移動**](#行を上へ移動行を下へ移動) moveLineDown.js -- [**行を上へコピー**](#行を上へコピー行を下へコピー) copyLineUp.js -- [**行を下へコピー**](#行を上へコピー行を下へコピー) copyLineDown.js -- [**行を上に挿入**](#行を上に挿入行を下に挿入) insertLineAbove.js -- [**行を下に挿入**](#行を上に挿入行を下に挿入) insertLineBelow.js -- [**数字をカンマで区切る**](#数字をカンマで区切る) addNumericSeparators.js -- [**スレッドテキストを作成**](#スレッドテキストを作成) createThreadedText.js -- [**選択なしでカット**](#選択なしでカット選択なしでコピー) cutLine(emptySelection).js -- [**選択なしでコピー**](#選択なしでカット選択なしでコピー) copyLine(emptySelection).js -- [**直線に平行なテキストを作成**](#直線に平行なテキストを作成) createTextParallelToPathSegment.js -- [**テキスト中央揃え**](#テキスト中央揃えテキスト左揃えテキスト右揃え) textAlign_Center.js -- [**テキスト左揃え**](#テキスト中央揃えテキスト左揃えテキスト右揃え) textAlign_Left.js -- [**テキスト右揃え**](#テキスト中央揃えテキスト左揃えテキスト右揃え) textAlign_Right.js -- [**テキスト両端揃え**](#テキスト両端揃え) justifyContentSpaceBetween.js -- [**ノンブルを作成**](#ノンブルを作成) createPageNumbers.ja -- [**パス上文字をポイント文字に切り替え**](#パス上文字をポイント文字に切り替え) convertTypeOnAPathToPointType.js -- [**文字列を括弧で囲む**](#文字列を括弧で囲む) encloseWordInParentheses.js -- [**文字列をカーソルの位置で分割**](#文字列をカーソルの位置で分割) splitTextAtCursorPosition.js `Update` -- [**文字列を交換**](#文字列を交換) swapTextContents.js -- [**文字列を分割**](#文字列を分割) splitText.js `Update` +- [カーソル位置の単語を削除](#カーソル位置の単語を削除) +- [カーソルの左側 / 右側をすべて削除](#カーソルの左側--右側をすべて削除) +- [カーソルを次 / 前のテキストへ移動](#カーソルを次--前のテキストへ移動) +- [行に移動](#行に移動) +- [行の並べ替え](#行の並べ替え) +- [行末のスペースを削除](#行末のスペースを削除) +- [行を上 / 下へ移動](#行を上--下へ移動) +- [行を上 / 下へコピー](#行を上--下へコピー) +- [行を上 / 下に挿入](#行を上--下に挿入) +- [数字をカンマで区切る](#数字をカンマで区切る) +- [スレッドテキストを作成](#スレッドテキストを作成) +- [選択なしでコピー / カット](#選択なしでコピー--カット) +- [直線に平行なテキストを作成](#直線に平行なテキストを作成) +- [テキスト左 / 中央 / 右揃え](#テキスト左--中央--右揃え) +- [テキスト両端揃え](#テキスト両端揃え) +- [ノンブルを作成](#ノンブルを作成) +- [パス上文字をポイント文字に切り替え](#パス上文字をポイント文字に切り替え) +- [文字列を括弧で囲む](#文字列を括弧で囲む) +- [文字列をカーソルの位置で分割](#文字列をカーソルの位置で分割) +- [文字列を交換](#文字列を交換) +- [文字列を分割](#文字列を分割) ### ユーティリティ [![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) -- [**拡大・縮小率の確認**](#拡大縮小率の確認) compareScale.js -- [**距離の測定**](#距離の測定) measureDistance.js -- [**すべてのドキュメントを閉じる**](#すべてのドキュメントを閉じる) closeAllDocuments.js -- [**単位を換算**](#単位を換算) unitCalculator.js -- [**日付と曜日の確認**](#日付と曜日の確認) checkDayOfWeek.js -- [**文字列内の数字の合計**](#文字列内の数字の合計) sumNumbers.js +- [拡大・縮小率の確認](#拡大縮小率の確認) +- [距離の測定](#距離の測定) +- [すべてのドキュメントを閉じる](#すべてのドキュメントを閉じる) +- [単位を換算](#単位を換算) +- [日付と曜日の確認](#日付と曜日の確認) +- [文字列内の数字の合計](#文字列内の数字の合計) ### 表示 [![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) -- [**ウィンドウの表示位置を同期**](#ウィンドウの表示位置を同期) syncView.js -- [**ウィンドウを並べて表示**](#ウィンドウを並べて表示) arrangeWindows.js -- [**オブジェクトを画面全体に拡大表示**](#オブジェクトを画面全体に拡大表示) fitSelectedObjectsInWindow.js -- [**最後のアートボードへ移動**](#最後のアートボードへ移動先頭のアートボードへ移動次のアートボードへ移動前のアートボードへ移動) navigateToLastArtboard.js -- [**先頭のアートボードへ移動**](#最後のアートボードへ移動先頭のアートボードへ移動次のアートボードへ移動前のアートボードへ移動) navigateToFirstArtboard.js -- [**次のアートボードへ移動**](#最後のアートボードへ移動先頭のアートボードへ移動次のアートボードへ移動前のアートボードへ移動) navigateToNextArtboard.js -- [**前のアートボードへ移動**](#最後のアートボードへ移動先頭のアートボードへ移動次のアートボードへ移動前のアートボードへ移動) navigateToPreviousArtboard.js +- [ウィンドウの表示位置を同期](#ウィンドウの表示位置を同期) +- [ウィンドウを並べて表示](#ウィンドウを並べて表示) +- [オブジェクトを画面全体に拡大表示](#オブジェクトを画面全体に拡大表示) +- [先頭 / 最後 / 次 / 前のアートボードへ移動](#先頭--最後--次--前のアートボードへ移動) ### 環境設定 [![Download Preferences.zip](https://img.shields.io/badge/Download-Preferences.zip-e60012?style=for-the-badge)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Preferences.zip) -- [**同じ濃度を選択**](#同じ濃度を選択) toggleSelectSameTintPercentage.js `New` -- [**コピー元のレイヤーにペースト**](#コピー元のレイヤーにペースト) togglePasteRemembersLayers.js -- [**字形の境界に整列**](#字形の境界に整列) toggleAlignToGlyphBounds.js `Bug Fix` -- [**新規テキストオブジェクトにサンプルテキストを割り付け**](#新規テキストオブジェクトにサンプルテキストを割り付け) toggleFillNewTypeObjectsWithPlaceholderText.js `New` -- [**選択された文字の異体字を表示**](#選択された文字の異体字を表示) toggleShowCharacterAlternates.js `New` -- [**選択範囲へズーム**](#選択範囲へズーム) toggleZoomToSelection.js `New` -- [**パターンを変形**](#パターンを変形) toggleTransformPatternTiles.js `New` -- [**複数アンカーを選択時にハンドルを表示**](#複数アンカーを選択時にハンドルを表示) toggleShowHandles.js -- [**プレビュー境界を使用**](#プレビュー境界を使用) toggleUsePreviewBounds.js `New` -- [**マウスホイールでズーム**](#マウスホイールでズーム) toggleZoomWithMouseWheel.js `New` +- [同じ濃度を選択](#同じ濃度を選択) +- [コピー元のレイヤーにペースト](#コピー元のレイヤーにペースト) +- [字形の境界に整列](#字形の境界に整列) +- [新規テキストオブジェクトにサンプルテキストを割り付け](#新規テキストオブジェクトにサンプルテキストを割り付け) +- [選択された文字の異体字を表示](#選択された文字の異体字を表示) +- [選択範囲へズーム](#選択範囲へズーム) +- [パターンを変形](#パターンを変形) +- [複数アンカーを選択時にハンドルを表示](#複数アンカーを選択時にハンドルを表示) +- [プレビュー境界を使用](#プレビュー境界を使用) +- [マウスホイールでズーム](#マウスホイールでズーム)


@@ -208,7 +194,9 @@ MITライセンスのもとで公開しています。 ## アンカーポイントの追加 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### addAnchorPoints.js 指定した個数のアンカーポイントを等間隔に追加します。 「オブジェクト > パス > アンカーポイントの追加」を少し使いやすく改良したものです。 @@ -235,7 +223,9 @@ Illustrator CS4以降 ## 数字をカンマで区切る -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### addNumericSeparators.js 数値をカンマで3桁区切りにします。 @@ -255,7 +245,9 @@ Illustrator CS以降 ## グラデーションをスウォッチに追加 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### addSelectedGradientsToSwatch.js 選択したグラデーションをスウォッチに追加します。 @@ -277,10 +269,12 @@ Illustrator CS以降 -## 余白の垂直方向中央に整列
余白の水平方向中央に整列
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +## 余白の垂直 / 水平方向中央に整列 +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### alignInCenterOfSpace(Vertical).js
alignInCenterOfSpace(Horizontal).js -余白の水平または垂直方向中央にオブジェクトを整列します。 +余白の垂直または水平方向中央にオブジェクトを整列します。 例 alignInCenterOfSpace(Vertical).js: ![Align In Center Of Space](images/alignInCenterOfSpace.png) @@ -304,7 +298,9 @@ Illustrator CS3以降 ## オブジェクトの整列 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### alignObjects.js オブジェクトの水平方向と垂直方向を同時に整列します。 @@ -340,7 +336,9 @@ Illustrator 2021以降 ## ウィンドウを並べて表示 -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + + ### arrangeWindows.js 開いているすべてのウィンドウを分割して並べて表示します。 @@ -366,7 +364,9 @@ Illustrator CS6以降 ## まとめてリンクを再設定 -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### bulkRelink.js リンク切れ画像、リンク画像、または埋め込み画像を一括で再設定します。 @@ -394,7 +394,9 @@ Illustrator CS6以降 ## 日付と曜日の確認 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### checkDayOfWeek.js 選択した日付の曜日を確認します。 @@ -430,7 +432,9 @@ Illustrator CS4以降 ## すべてのドキュメントを閉じる -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### closeAllDocuments.js すべてのドキュメントを閉じます。 @@ -452,7 +456,9 @@ Illustrator CS4以降 ## パスを閉じる -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### closePath.js 開いているパスを閉じます。 @@ -472,7 +478,9 @@ Illustrator CS以降 ## 拡大・縮小率の確認 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### compareScale.js 2つのオブジェクトを比較して拡大・縮小率を表示します。 @@ -499,7 +507,9 @@ Illustrator CC以降 ## すべてのアンカーをコーナーポイントに切り替え -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### convertAllAnchorPointsToCorner.js すべてのアンカーポイントをコーナーポイントに切り替えます。 コントロールパネルの機能ではアンカーポイントを選択しなければなりませんが、このスクリプトではオブジェクト全体を選択します。 @@ -526,7 +536,9 @@ Illustrator CS4以降 ## グローバルカラーに変換
特色に変換
-[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### convertToGlobalColor.js
convertToSpotColor.js スウォッチをグローバルカラーまたは特色に変換します。 @@ -555,7 +567,9 @@ Illustrator CS以降 ## パス上文字をポイント文字に切り替え -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### convertTypeOnAPathToPointType.js パス上文字をポイント文字に切り替えます。 @@ -578,8 +592,10 @@ Illustrator CS以降 -## 行を上へコピー
行を下へコピー
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +## 行を上 / 下へコピー +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### copyLineUp.js
copyLineDown.js Visual Studio Code の「行を上へコピー」( Option / Alt + Shift + )、 「行を下へコピー」( Option / Alt + Shift + )と同様のことができます。 @@ -618,9 +634,11 @@ Illustrator CC 2018以降 -## 選択なしでカット
選択なしでコピー
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) -### cutLine(emptySelection).js
copyLine(emptySelection).js +## 選択なしでコピー / カット +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + +### copyLine(emptySelection).js
cutLine(emptySelection).js Visual Studio Code のショートカット「コピー(選択なし)」( / Ctrl + C )、 「切り取り(選択なし)」( / Ctrl + X )と同様のことができます。 [Keyboard Maestro](https://www.keyboardmaestro.com/main/)、 @@ -655,7 +673,9 @@ Illustrator CC 2018以降 ## カラーチャートを作成 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### createColorChart.js カラーチャートを作成します。CMYK、RGB のどちらにも対応しています。 @@ -691,7 +711,9 @@ Illustrator CS6以降 ## グリッドラインを作成 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### createGridLines.js アートボードにグリッドを作成します。 @@ -714,7 +736,9 @@ Illustrator CS以降 ## ノンブルを作成 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### createPageNumbers.js InDesignの「書式 > 特殊文字を挿入 > マーカー > 現在のページ番号」に相当します。 アートボードの指定した位置にノンブルを配置します。 @@ -748,7 +772,9 @@ Illustrator CS4以降 ## 直線に平行なテキストを作成 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### createTextParallelToPathSegment.js 直線セグメント、または2点のアンカーポイントを結ぶ直線に平行なテキストを作成します。 @@ -785,7 +811,9 @@ Illustrator 2021以降 ## スレッドテキストを作成 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### createThreadedText.js スレッドテキストを作成します。ポイント文字やパスが混在していても作成できます。 縦組みのテキストにも対応しています。 @@ -819,8 +847,10 @@ Illustrator CC以降 -## 選択したアンカーポイントを時計回りに減らす
選択したアンカーポイントを反時計回りに減らす
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +## 選択したアンカーポイントを時計回り / 反時計回りに減らす +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### decreaseSelectedAnchorPointsCW.js
decreaseSelectedAnchorPointsCCW.js 選択したアンカーポイントの個数を時計回り、または反時計回りに減らします。 @@ -840,8 +870,10 @@ Illustrator CS以降 -## カーソルの左側をすべて削除
カーソルの右側をすべて削除
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +## カーソルの左側 / 右側をすべて削除 +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### deleteAllLeft.js
deleteAllRight.js Visual Studio Code のショートカット「左側をすべて削除」( + Backspace )、 「右側をすべて削除」( + Delete )と同様のことができます。 @@ -877,7 +909,9 @@ Illustrator CC 2018以降 ## すべてのスウォッチを削除 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### deleteAllSwatches.js [なし]と[レジストレーション]以外のすべてのスウォッチを削除します。 @@ -900,7 +934,9 @@ Illustrator CS以降 ## 非表示レイヤーを削除 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### deleteHiddenLayers.js 非表示のレイヤーを削除します。 @@ -923,7 +959,9 @@ Illustrator CS以降 ## ロック状態のレイヤーを削除 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### deleteLockedLayers.js ロックしているレイヤーを削除します。 @@ -943,7 +981,9 @@ Illustrator CS以降 ## 行末のスペースを削除 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### deleteTrailingSpaces.js 行末のスペースとタブを削除します。 ポイント文字、エリア内文字のどちらにも対応しています。 @@ -968,7 +1008,9 @@ Illustrator CS以降 ## 未使用レイヤーを削除 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### deleteUnusedLayers.js 未使用(空)のレイヤーを削除します。サブレイヤーも対象です。 @@ -989,7 +1031,9 @@ Illustrator CS以降 ## カーソル位置の単語を削除 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### deleteWord.js カーソル位置の単語を削除します。 ポイント文字、エリア内文字のどちらにも対応しています。 @@ -1019,7 +1063,9 @@ Illustrator CC 2018以降 ## パスを分解 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### disjoinPath.js アンカーポイントごとにパスオブジェクトを分割します。 @@ -1041,10 +1087,12 @@ Illustrator CS以降 -## 余白の垂直方向に分布
余白の水平方向に分布
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +## 余白の垂直 / 水平方向に分布 +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### distributeInSpace(Vertical).js
distributeInSpace(Horizontal).js -余白の水平または垂直方向にオブジェクトを分布します。 +余白の垂直または水平方向にオブジェクトを分布します。 例 distributeInSpace(Vertical).js: ![Distribute In Space](images/distributeInSpace.png) @@ -1068,7 +1116,9 @@ Illustrator CS3以降 ## 外接円を描く -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### drawCircumscribedCircle.js アンカーポイント3点、または2点を通る外接円を描きます。 @@ -1092,7 +1142,9 @@ Illustrator CS以降 ## 法線を描く -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### drawNormalLine.js 2点のアンカーポイント間の曲線または直線に対して法線(接線に垂直な線)を描きます。 @@ -1127,7 +1179,9 @@ Illustrator CS4以降 ## オブジェクトの周囲に長方形を描く -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### drawRectangle.js オブジェクトの周囲に長方形を描きます。 @@ -1159,7 +1213,9 @@ Illustrator CS4以降 ## アンカーポイントに図形を描く -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### drawShapeOnAnchorPoint.js アンカーポイントとハンドルの位置に図形を描きます。 @@ -1189,7 +1245,9 @@ Illustrator CS4以降 ## 直線に平行な図形を描く -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### drawShapeParallelToPathSegment.js 直線セグメント、または2点のアンカーポイントを結ぶ直線に平行な図形を描きます。 @@ -1224,7 +1282,9 @@ Illustrator CS4以降 ## 文字列を括弧で囲む -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### encloseWordInParentheses.js 文字列を丸括弧(パーレン)で囲みます。 @@ -1265,7 +1325,9 @@ Illustrator CC 2018以降 ## カラー数値をCSVファイルに保存 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### exportColorValuesToCSV.js パスオブジェクトまたはスウォッチのカラー数値をCSVファイルに書き出します。 @@ -1292,7 +1354,9 @@ Illustrator CS以降 ## ハンドルを伸縮 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### extendHandle.js ハンドルを伸縮します。角度も変更できます。 @@ -1324,7 +1388,9 @@ Illustrator CS4以降 ## パスを伸縮 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### extendLine.js 選択しているパスセグメントを伸縮します。 @@ -1355,7 +1421,9 @@ Illustrator CS4以降 ## グラデーションのカラー分岐点から色を取り出す -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### extractColorsFromGradient.js グラデーションのカラー分岐点からそれぞれ色を取り出してスウォッチに追加します。 @@ -1380,7 +1448,9 @@ Illustrator CS以降 ## ガイドをアートボードにフィット -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### fitGuideInArtboard.js ガイドをアートボードにフィットさせます。 @@ -1403,7 +1473,9 @@ Illustrator CS以降 ## オブジェクトを画面全体に拡大表示 -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + + ### fitSelectedObjectsInWindow.js 選択したオブジェクトが画面全体に収まるようにズーム倍率を変更します。 @@ -1426,7 +1498,9 @@ Illustrator CS以降 ## グラデーションを生成 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### generateGradientColor.js オブジェクトの塗り色またはスウォッチからグラデーションを生成します。 @@ -1453,7 +1527,9 @@ Illustrator CS4以降 ## 行に移動 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### goToLine.js Visual Studio Code の「行/列に移動」( Ctrl + G )と同様のことができます。 [Keyboard Maestro](https://www.keyboardmaestro.com/main/)、 @@ -1490,8 +1566,10 @@ Illustrator CC 2018以降 -## カーソルを次のテキストへ移動
カーソルを前のテキストへ移動
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +## カーソルを次 / 前のテキストへ移動 +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### goToNextText.js
goToPreviousText.js テキスト編集状態のまま、カーソルを次または前のテキストオブジェクトの先頭に移動します。 ポイント文字、エリア内文字のどちらにも対応しています。 @@ -1523,7 +1601,9 @@ Illustrator CC 2018以降 ## テキストの色を変更 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### highlightWord.js 指定したテキストの塗り色を変更します。CMYK、RGB のどちらにも対応しています。 @@ -1556,7 +1636,9 @@ Illustrator CS6以降 ## CSVファイルを読み込む -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### importCSVtoSwatch.js CSVファイルからカラー数値を読み込んでスウォッチに追加します。 @@ -1606,8 +1688,10 @@ Illustrator CS以降 -## 選択したアンカーポイントを時計回りに増やす
選択したアンカーポイントを反時計回りに増やす
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +## 選択したアンカーポイントを時計回り / 反時計回りに増やす +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### increaseSelectedAnchorPointsCW.js
increaseSelectedAnchorPointsCCW.js 選択したアンカーポイントの個数を時計回り、または反時計回りに増やします。 @@ -1627,8 +1711,10 @@ Illustrator CS以降 -## 行を上に挿入
行を下に挿入
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +## 行を上 / 下に挿入 +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### insertLineAbove.js
insertLineBelow.js Visual Studio Code のショートカット「行を上に挿入」( / Ctrl + Shift + Enter )、 「行を下に挿入」( / Ctrl + Enter )と同様のことができます。 @@ -1661,7 +1747,9 @@ Illustrator CC 2018以降 ## ロック状態を反転 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### invertLockedLayer.js レイヤーのロック状態を切り替えます。 @@ -1681,7 +1769,9 @@ Illustrator CS以降 ## 表示状態を反転 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### invertVisibleLayer.js レイヤーの表示/非表示を切り替えます。 @@ -1701,7 +1791,9 @@ Illustrator CS以降 ## テキスト両端揃え -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### justifyContentSpaceBetween.js トラッキングを調整してポイント文字の両端を揃えます。 縦組みのテキストにも対応しています。 @@ -1728,7 +1820,9 @@ Illustrator CS以降 ## グラデーションのカラー分岐・中間点の位置を同期 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### matchLocationOfGradientStop.js グラデーションのカラー分岐点、中間点を同期します。 @@ -1754,7 +1848,9 @@ Illustrator CS4以降 ## 距離の測定 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### measureDistance.js 2点間のアンカーポイントの距離をものさしツールよりも正確に測ります。 @@ -1786,7 +1882,9 @@ Illustrator CS4以降 ## ガイドを移動 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### moveGuides.js すべてのガイドオブジェクトを指定したレイヤー、最前面、または最背面へ移動します。 @@ -1815,8 +1913,10 @@ Illustrator CS6以降 -## 行を上へ移動
行を下へ移動
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +## 行を上 / 下へ移動 +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### moveLineUp.js
moveLineDown.js Visual Studio Code の「行を上へ移動」( Option / Alt + )、 「行を下へ移動」( Option / Alt + )と同様のことができます。 @@ -1856,7 +1956,9 @@ Illustrator CC 2018以降 ## サブレイヤーをメインレイヤーへ移動 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### moveSublayerToMainLayer.js サブレイヤーをメインレイヤーへ移動します。 @@ -1879,10 +1981,12 @@ Illustrator CS以降 -## 最後のアートボードへ移動
先頭のアートボードへ移動
次のアートボードへ移動
前のアートボードへ移動
-[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +## 先頭 / 最後 / 次 / 前のアートボードへ移動 +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + + ### navigateToFirstArtboard.js
navigateToLastArtboard.js
navigateToNextArtboard.js
navigateToPreviousArtboard.js -アートボードの表示倍率と位置を維持したまま、最後、先頭、次、または前のアートボードに移動します。 +アートボードの表示倍率と位置を維持したまま、先頭、最後、次、または前のアートボードに移動します。 > [!IMPORTANT] > 標準機能( shift + pagedown / pageup )でもできますが、アートボードを全体表示にします。 @@ -1909,7 +2013,9 @@ Illustrator CS4以降 ## テキストの色をランダムに変更 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### randomTextColor.js 単語、1文字、または1文ごとにランダムに色を適用します。CMYK、RGB のどちらにも対応しています。 @@ -1937,7 +2043,9 @@ Illustrator CS4以降 ## オブジェクトの並べ替え -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### rearrangeObjects.js 選択しているオブジェクトを並べ替えます。 @@ -1975,7 +2083,9 @@ Illustrator 2021以降 ## ファイル拡張子にリンクを再設定 -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### relinkFileExtension.js リンク画像を指定した拡張子のファイルに置き換えます。InDesignの「リンクパネル > ファイル拡張子にリンクを再設定」に相当します。 より詳細な設定がしたい場合は、[relinkFileExtensionExtra.js](#ファイル拡張子にリンクを再設定機能拡張版)を使用してください。 @@ -2007,7 +2117,9 @@ Illustrator CS4以降 ## ファイル拡張子にリンクを再設定(機能拡張版) -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### relinkFileExtensionExtra.js [relinkFileExtension.js](#ファイル拡張子にリンクを再設定)の機能拡張版です。リンクを再設定するためのより高度な機能を備えています。 @@ -2046,7 +2158,9 @@ Illustrator CS6以降 ## フォルダに再リンク -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### relinkToFolder.js リンク画像を選択したフォルダにある同じ名前のファイルと置き換えます。InDesignの「リンクパネル > フォルダに再リンク」に相当します。 @@ -2072,7 +2186,9 @@ Illustrator CS4以降 ## ガイドオブジェクトの色を削除 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### removeColorInGuideObject.js すべてのガイドオブジェクトの塗りと線の色を削除します。 @@ -2096,7 +2212,9 @@ Illustrator CS6以降 ## Deleted Global Color を削除 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### removeDeletedGlobalColor.js 分版プレビューパネルに表示される Deleted Global Color を削除します。 @@ -2122,7 +2240,9 @@ Illustrator CS以降 ## アートボードの名前を変更 -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + + ### renameArtboard.js すべてのアートボードの名前をまとめて編集します。 @@ -2161,7 +2281,9 @@ Illustrator CS4以降 ## レイヤー名の変更 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### renameLayer.js すべてのレイヤーの名前をまとめて編集します。 @@ -2202,7 +2324,9 @@ Illustrator CS4以降 ## リンク画像の名前を変更 -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### renameLinkedFile.js リンク画像のファイル名を変更し、リンクを再設定します。 @@ -2241,7 +2365,9 @@ Illustrator CS4以降 ## リンク画像を原寸サイズに戻す -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### resetToFullScale.js リンクまたは埋め込み画像のスケールを100%に、回転角度を0°に戻します。 @@ -2261,7 +2387,9 @@ Illustrator CS6以降 ## カラー数値を四捨五入 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### roundColorValue.js カラーの数値を四捨五入します。塗り、線のどちらにも対応しています。 @@ -2281,7 +2409,9 @@ Illustrator CS以降 ## グラデーションのカラー分岐・中間点の数値を四捨五入 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### roundLocationOfGradientStop.js グラデーションのカラー分岐点、中間点の数値を四捨五入します。塗り、線のどちらにも対応しています。 @@ -2301,7 +2431,9 @@ Illustrator CS以降 ## 埋め込み画像を選択 -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### selectEmbeddedLink.js すべての埋め込み画像を選択します。 @@ -2322,7 +2454,9 @@ Illustrator CS以降 ## ガイドを選択 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### selectGuides.js すべてのガイドオブジェクトを選択します。 @@ -2343,7 +2477,9 @@ Illustrator CS6以降 ## リンク画像を選択 -[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + ### selectLink.js リンク画像を選択します。 @@ -2371,8 +2507,33 @@ Illustrator CS4以降 -## 選択したアンカーポイントを時計回りに移動
選択したアンカーポイントを反時計回りに移動
-[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +## リンク切れ画像を選択 +[![Download Link.zip](https://img.shields.io/badge/Download-Link.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Link.zip) + + +### selectMissingLink.js +すべてのリンク切れ画像を選択します。 + +#### 使用方法 +このスクリプトを実行するだけです。 + +> [!NOTE] +> ロックまたは非表示状態では選択しません。レイヤーの状態も同様です。 + +#### 動作条件 +Illustrator CS以降 + +
[ ↑ トップへ戻る ↑ ]
+
+ + + + + +## 選択したアンカーポイントを時計回り / 反時計回りに移動 +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### shiftSelectedAnchorPointsCW.js
shiftSelectedAnchorPointsCCW.js 選択したアンカーポイントを時計回り、または反時計回りに移動します。 @@ -2394,8 +2555,10 @@ Illustrator CS以降 ## アートボードの名前とサイズを表示 -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) -### showArtboardName.js +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + + +### showArtboardName.js ドキュメント内にアートボードの名前とサイズを表示します。 ![Show Artboard Name](images/showArtboardName.png) @@ -2418,7 +2581,9 @@ Illustrator CS4以降 ## カラー数値を表示 -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### showColorValues.js カラーの数値を表示します。塗り、線のどちらにも対応しています。 @@ -2442,7 +2607,9 @@ Illustrator CS以降 ## パスの寸法を表示 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### showDimensions.js パスオブジェクトの2点間のアンカーポイントの寸法を表示します。 @@ -2475,7 +2642,9 @@ Illustrator CS6以降 ## グラデーションをシャッフル -[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) +[![Download Color.zip](https://img.shields.io/badge/Download-Color.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Color.zip) + + ### shuffleGradientColor.js グラデーションをシャッフルします。 @@ -2499,7 +2668,9 @@ Illustrator CS以降 ## オブジェクトをシャッフル -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### shuffleObjects.js 選択したオブジェクトをシャッフルします。 @@ -2519,7 +2690,9 @@ Illustrator CS以降 ## アートボードの並べ替え -[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) +[![Download Artboard.zip](https://img.shields.io/badge/Download-Artboard.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Artboard.zip) + + ### sortArtboards.js アートボードパネル内のアートボードを昇順で並べ替えます。 @@ -2542,7 +2715,9 @@ Illustrator CS5以降 ## 行の並べ替え -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### sortLines.js テキストの行を並べ替えます。縦組みのテキストにも対応しています。 @@ -2575,7 +2750,9 @@ Illustrator CS4以降 ## 文字列を分割 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### splitText.js ポイント文字またはエリア内文字を行、単語、または1文字ごとに分割します。 縦組みのテキストにも対応しています。 @@ -2604,7 +2781,9 @@ Illustrator CC以降 ## 文字列をカーソルの位置で分割 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### splitTextAtCursorPosition.js ポイント文字をカーソルの位置で分割します。 縦組みのテキストにも対応しています。 @@ -2630,7 +2809,9 @@ Illustrator CS6以降 ## 繰り返し複製 -[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) +[![Download Path.zip](https://img.shields.io/badge/Download-Path.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Path.zip) + + ### stepAndRepeat.js 選択したオブジェクトを繰り返し複製します。InDesignの「編集 > 繰り返し複製」に相当します。 @@ -2660,7 +2841,9 @@ Illustrator CS4以降 ## 文字列内の数字の合計 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### sumNumbers.js 文字列内の数字を足し合わせます。 @@ -2686,7 +2869,9 @@ Illustrator CS4以降 ## 文字列を交換 -[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + ### swapTextContents.js 2つの文字列の内容を交換します。 @@ -2706,7 +2891,9 @@ Illustrator CS以降 ## ウィンドウの表示位置を同期 -[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) +[![Download View.zip](https://img.shields.io/badge/Download-View.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/View.zip) + + ### syncView.js 開いているすべてのウィンドウが、アクティブなウィンドウの表示倍率と位置に同期します。 @@ -2728,9 +2915,11 @@ Illustrator CS以降 -## テキスト中央揃え
テキスト左揃え
テキスト右揃え
-[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) -### textAlign_Center.js
textAlign_Left.js
textAlign_Right.js +## テキスト左 / 中央 / 右揃え +[![Download Text.zip](https://img.shields.io/badge/Download-Text.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Text.zip) + + +### textAlign_Left.js
textAlign_Center.js
textAlign_Right.js ポイント文字の位置を動かさずに行揃えを変更します。 縦組みのテキストにも対応しています。 @@ -2751,7 +2940,9 @@ Illustrator CS以降 ## 字形の境界に整列 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleAlignToGlyphBounds.js 「整列パネル > 字形の境界に整列 > ポイント文字・エリア内文字」のオン/オフを両方同時に切り替えます。 @@ -2771,7 +2962,9 @@ Illustrator 2020以降 ## 新規テキストオブジェクトにサンプルテキストを割り付け -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleFillNewTypeObjectsWithPlaceholderText.js 「環境設定 > テキスト > 新規テキストオブジェクトにサンプルテキストを割り付け」のオン/オフを切り替えます。 @@ -2791,7 +2984,9 @@ Illustrator 2018以降 ## コピー元のレイヤーにペースト -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### togglePasteRemembersLayers.js 「レイヤーパネル > コピー元のレイヤーにペースト」のオン/オフを切り替えます。 @@ -2811,7 +3006,9 @@ Illustrator CC以降 ## 同じ濃度を選択 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleSelectSameTintPercentage.js 「環境設定 > 一般 > 同じ濃度を選択」のオン/オフを切り替えます。 @@ -2831,7 +3028,9 @@ Illustrator CC以降 ## 選択された文字の異体字を表示 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleShowCharacterAlternates.js 「環境設定 > テキスト > 選択された文字の異体字を表示」のオン/オフを切り替えます。 @@ -2851,7 +3050,9 @@ Illustrator 2020以降 ## 複数アンカーを選択時にハンドルを表示 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleShowHandles.js 「環境設定 > 選択範囲・アンカー表示 > アンカーポイント、ハンドル、およびバウンディングボックスの表示 > 複数アンカーを選択時にハンドルを表示」のオン/オフを切り替えます。 @@ -2871,7 +3072,9 @@ Illustrator CC以降 ## パターンを変形 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleTransformPatternTiles.js 「環境設定 > 一般 > パターンを変形」のオン/オフを切り替えます。 @@ -2891,7 +3094,9 @@ Illustrator CC以降 ## プレビュー境界を使用 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleUsePreviewBounds.js 「環境設定 > 一般 > プレビュー境界を使用」のオン/オフを切り替えます。 @@ -2911,7 +3116,9 @@ Illustrator CC以降 ## 選択範囲へズーム -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleZoomToSelection.js 「環境設定 > 選択範囲・アンカー表示 > 選択範囲 > 選択範囲へズーム」のオン/オフを切り替えます。 @@ -2931,7 +3138,9 @@ Illustrator 2018以降 ## マウスホイールでズーム -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### toggleZoomWithMouseWheel.js 「環境設定 > 一般 > マウスホイールでズーム」のオン/オフを切り替えます。 @@ -2951,7 +3160,9 @@ Illustrator 2022以降 ## レイヤーカラーを統合 -[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) +[![Download Layer.zip](https://img.shields.io/badge/Download-Layer.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Layer.zip) + + ### unifyLayerColors.js レイヤーカラーを統合します。 @@ -2975,7 +3186,9 @@ Illustrator CS以降 ## 単位を換算 -[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) +[![Download Utility.zip](https://img.shields.io/badge/Download-Utility.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Utility.zip) + + ### unitCalculator.js Illustratorで対応しているほぼすべての単位を換算します。 diff --git a/images/UI_Image_Encoder.png b/images/UI_Image_Encoder.png index 9c0a693..6c6f06d 100644 Binary files a/images/UI_Image_Encoder.png and b/images/UI_Image_Encoder.png differ diff --git a/libs/README.md b/libs/README.md index e9bbc84..fcfbb18 100755 --- a/libs/README.md +++ b/libs/README.md @@ -1,12 +1,12 @@ # Libs | Adobe Illustrator Scripts Frequently used features were grouped into functions. -[![Download Libs.zip](https://img.shields.io/badge/Download-Libs.zip-e60012)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Libs.zip) +[![Download Libs.zip](https://img.shields.io/badge/Download-Libs.zip-e60012?style=flat-square)](https://github.com/sky-chaser-high/adobe-illustrator-scripts/releases/latest/download/Libs.zip) - [Map.js](#Mapjs) - [Matrix.js](#Matrixjs) -- [UI_Image_Encoder.js](#UI_Image_Encoderjs) +- [UI_Image_Encoder.js](#UI_Image_Encoderjs) `Update` - [Vector.js](#Vectorjs) -- [XMP.js](#XMPjs) +- [XMP.js](#XMPjs) `Update` ## Usage You can include this script or copy the function to use it. @@ -20,9 +20,15 @@ var value = map(num, 0, 100, 0, 255); ## Requirements Illustrator CS or higher +## License +All scripts are licensed under the MIT license. +See the included LICENSE file for more details. + # Map.js + + This script summarizes functions related to maps. ## Functions @@ -115,6 +121,8 @@ var value = norm(num, 0, 100); # Matrix.js + + These functions get the object's scale, rotation, or shear value from the matrix. ## Functions @@ -266,6 +274,8 @@ var isReflected = isReflectedY(matrix); # UI_Image_Encoder.js + + This script converts a image file to binary for use within the ScriptUI. UI Image Encoder @@ -274,8 +284,9 @@ This script converts a image file to binary for use within the ScriptUI. 1. Run this script. 2. Select an image file. Only JPEG and PNG format image files are supported. 3. Select the encoding method, either the Unicode or the Percent-encoding. -4. Click the Convert button. -5. Copy the string converted to binary and paste it into the code you are creating. +4. Select whether to escape quotation marks. +5. Click the Convert button. +6. Copy the string converted to binary and paste it into the code you are creating. Escape quotation marks if necessary. ```javascript @@ -294,6 +305,8 @@ Illustrator CS4 or higher # Vector.js + + This script summarizes functions related to vectors. ## Functions @@ -314,8 +327,10 @@ This script summarizes functions related to vectors. # XMP.js + + These functions get the font, color, or history properties used in the document from XMP. -**See also:** [Adobe XMP Document](https://www.adobe.io/xmp/docs/) +**See also:** [Adobe XMP Document](https://developer.adobe.com/xmp/docs/) > **Note** XMP can also be used for linked files. > ```javascript @@ -329,6 +344,7 @@ These functions get the font, color, or history properties used in the document - [getHistory(src)](#getHistorysrc) - [getLinkedFiles(src)](#getLinkedFilessrc) - [getPlateNames(src)](#getPlateNamessrc) +- [getRulerUnits(src)](#getRulerUnitssrc) `New` - [getSwatches(src)](#getSwatchessrc) ## getFonts(src) @@ -409,6 +425,22 @@ alert(platenames[0]);
[ ↑ Back to Top ↑ ]
+## getRulerUnits(src) +Get ruler units that are used in the document from XMP. + +**Param**: `src` `` +**Returns**: `` Ruler units. + +```javascript +// @include '/foo/bar/XMP.js' +var src = app.activeDocument.fullName; +var units = getRulerUnits(src); +alert(units); +``` + +
[ ↑ Back to Top ↑ ]
+ + ## getSwatches(src) Get swatch properties that are used in the document from XMP. diff --git a/libs/UI_Image_Encoder.js b/libs/UI_Image_Encoder.js index 492c1e0..12361a7 100755 --- a/libs/UI_Image_Encoder.js +++ b/libs/UI_Image_Encoder.js @@ -8,8 +8,9 @@ 1. Run this script from File > Scripts > Other Script... 2. Select an image file. Only JPEG and PNG format image files are supported. 3. Select the encoding method, either the Unicode or the Percent-encoding. - 4. Click the Convert button. - 5. Copy the string converted to binary and paste it into the code you are creating. + 4. Select whether to escape quotation marks. + 5. Click the Convert button. + 6. Copy the string converted to binary and paste it into the code you are creating. Escape quotation marks if necessary. Example @@ -26,7 +27,7 @@ Illustrator CS4 or higher Version - 1.0.0 + 1.1.0 Homepage github.com/sky-chaser-high/adobe-illustrator-scripts @@ -46,7 +47,8 @@ function main() { dialog.convert.onClick = function() { var src = dialog.file.text; - var data = encodeFile(src); + var quote = getQuotationMark(dialog); + var data = encodeFile(src, quote); if (dialog.unicode.value) dialog.binary.text = (data) ? data.unicode : ''; if (dialog.percent.value) dialog.binary.text = (data) ? data.percent : ''; @@ -58,7 +60,7 @@ function main() { } -function encodeFile(src) { +function encodeFile(src, quote) { var file = File(src); if (!file.exists) return; @@ -73,6 +75,12 @@ function encodeFile(src) { unicode = unicode.replace(/^\(new\sString\("/i, ''); unicode = unicode.replace(/"\)\)/i, ''); + if (quote) { + var regex = new RegExp(quote, 'g'); + percent = percent.replace(regex, '\\' + quote); + unicode = unicode.replace(regex, '\\' + quote); + } + return { unicode: unicode, percent: percent @@ -80,10 +88,18 @@ function encodeFile(src) { } +function getQuotationMark(dialog) { + var escape = dialog.escape.value; + if (!escape) return ''; + var quote = dialog.singleQuote.value; + return (quote) ? '\'' : '"'; +} + + function isValidVersion() { var cs4 = 14; - var aiVersion = parseInt(app.version); - if (aiVersion < cs4) return false; + var current = parseInt(app.version); + if (current < cs4) return false; return true; } @@ -114,7 +130,7 @@ function showDialog() { var button1 = group1.add('button', undefined, undefined, { name: 'button1' }); button1.text = ui.select; - button1.preferredSize.width = 65; + button1.preferredSize.width = 60; var statictext1 = group1.add('statictext', undefined, undefined, { name: 'statictext1' }); statictext1.text = ''; @@ -140,30 +156,60 @@ function showDialog() { var radiobutton2 = group2.add('radiobutton', undefined, undefined, { name: 'radiobutton2' }); radiobutton2.text = ui.percent; - var group3 = dialog.add('group', undefined, { name: 'group3' }); - group3.orientation = 'column'; - group3.alignChildren = ['fill', 'center']; + var panel3 = dialog.add('panel', undefined, undefined, { name: 'panel3' }); + panel3.text = ui.quotationMark; + panel3.orientation = 'column'; + panel3.alignChildren = ['left', 'top']; + panel3.spacing = 10; + panel3.margins = 10; + + var group3 = panel3.add('group', undefined, { name: 'group3' }); + group3.orientation = 'row'; + group3.alignChildren = ['left', 'center']; group3.spacing = 10; - group3.margins = [0, 10, 0, 4]; + group3.margins = [0, 8, 0, 0]; + + var checkbox1 = group3.add('checkbox', undefined, undefined, { name: 'checkbox1' }); + checkbox1.text = ui.escape; + + var group4 = group3.add('group', undefined, { name: 'group4' }); + group4.orientation = 'row'; + group4.alignChildren = ['left', 'center']; + group4.spacing = 10; + group4.margins = 0; + group4.enabled = false; + + var radiobutton3 = group4.add('radiobutton', undefined, undefined, { name: 'radiobutton3' }); + radiobutton3.text = ui.singleQuote; + radiobutton3.value = true; + + var radiobutton4 = group4.add('radiobutton', undefined, undefined, { name: 'radiobutton4' }); + radiobutton4.text = ui.doubleQuote; - var statictext2 = group3.add('statictext', undefined, undefined, { name: 'statictext2' }); + var group5 = dialog.add('group', undefined, { name: 'group5' }); + group5.orientation = 'column'; + group5.alignChildren = ['fill', 'center']; + group5.spacing = 10; + group5.margins = [0, 6, 0, 0]; + + var statictext2 = group5.add('statictext', undefined, undefined, { name: 'statictext2' }); statictext2.text = ui.binary; - var edittext1 = group3.add('edittext', undefined, undefined, { name: 'edittext1', multiline: true }); + var edittext1 = group5.add('edittext', undefined, undefined, { name: 'edittext1', multiline: true }); edittext1.text = ''; edittext1.preferredSize.height = 300; - var group4 = dialog.add('group', undefined, { name: 'group4' }); - group4.orientation = 'row'; - group4.alignChildren = ['right', 'center']; - group4.spacing = 10; - group4.margins = 0; + var group6 = dialog.add('group', undefined, { name: 'group6' }); + group6.orientation = 'row'; + group6.alignChildren = ['right', 'center']; + group6.spacing = 10; + group6.margins = 0; - var button2 = group4.add('button', undefined, undefined, { name: 'button2' }); + var button2 = group6.add('button', undefined, undefined, { name: 'button2' }); button2.text = ui.close; button2.preferredSize.width = 90; - var button3 = group4.add('button', undefined, undefined, { name: 'button3' }); + var button3 = group6.add('button', undefined, undefined, { name: 'button3' }); button3.text = ui.convert; button3.preferredSize.width = 90; button3.enabled = false; @@ -177,6 +223,15 @@ function showDialog() { edittext1.active = true; }); + checkbox1.onClick = function() { + if (checkbox1.value) { + group4.enabled = true; + } + else { + group4.enabled = false; + } + } + button1.onClick = function() { var src = File.openDialog('', filterExtension(), false); var file = (src) ? src.fsName : '' @@ -193,6 +248,9 @@ function showDialog() { dialog.file = statictext1; dialog.unicode = radiobutton1; dialog.percent = radiobutton2; + dialog.escape = checkbox1; + dialog.singleQuote = radiobutton3; + dialog.doubleQuote = radiobutton4; dialog.binary = edittext1; dialog.convert = button3; return dialog; @@ -244,6 +302,22 @@ function localizeUI() { en: 'Percent-encoding', ja: 'パーセントエンコーディング' }, + quotationMark: { + en: 'Quotation Marks', + ja: 'クォーテーションマーク' + }, + escape: { + en: 'Escape:', + ja: 'エスケープ:' + }, + singleQuote: { + en: '\\\'', + ja: '\\\'' + }, + doubleQuote: { + en: '\\\"', + ja: '\\\"' + }, binary: { en: 'Binary:', ja: 'バイナリー:' diff --git a/libs/XMP.js b/libs/XMP.js index c261138..cff1b4d 100755 --- a/libs/XMP.js +++ b/libs/XMP.js @@ -3,20 +3,20 @@ Description These functions get the font, color, or history properties used in the document from XMP. - See also: https://www.adobe.io/xmp/docs/ + See also: https://developer.adobe.com/xmp/docs/ Usage You can include this script or copy the function to use it. Notes - In rare cases, if you continue to use the script, it may not work. - In that case, restart Illustrator and try again. + In rare cases, the script may not work if you continue to use it. + In this case, restart Illustrator and try again. Requirements Illustrator CS or higher Version - 2.0.0 + 2.1.0 Homepage github.com/sky-chaser-high/adobe-illustrator-scripts @@ -29,7 +29,7 @@ /** * Get font properties used in the document from XMP. - * https://www.adobe.io/xmp/docs/XMPNamespaces/xmpTPg/ + * https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpTPg/ * * @param {File} src File object * @returns {{composite: boolean, face: string, family: string, filename: string, name: string, type: string, version: string}[]} font properties @@ -69,7 +69,7 @@ function getFonts(src) { /** * Get history properties from XMP. - * https://www.adobe.io/xmp/docs/XMPNamespaces/xmpMM/ + * https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpMM/ * * @param {File} src File object * @returns {{action: string, parameter: string | undefined, software: string | undefined, when: Date | undefined}[]} history properties @@ -130,7 +130,7 @@ function getHistory(src) { /** * Get linked file properties used in the document from XMP. - * https://www.adobe.io/xmp/docs/XMPNamespaces/xmpMM/ + * https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpMM/ * * @param {File} src File object * @returns {{exists: boolean, filePath: string}[]} linked file properties @@ -170,7 +170,7 @@ function getLinkedFiles(src) { /** * Get plate names used in the document from XMP. - * https://www.adobe.io/xmp/docs/XMPNamespaces/xmpTPg/ + * https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpTPg/ * * @param {File} src File object * @returns {string[]} plate names @@ -201,9 +201,33 @@ function getPlateNames(src) { } +/** + * Get ruler units used in the document from XMP. + * https://developer.adobe.com/xmp/docs/XMPNamespaces/XMPDataTypes/Dimensions/ + * + * @param {File} src File object + * @returns {string} ruler units + */ +function getRulerUnits(src) { + if (ExternalObject.AdobeXMPScript == undefined) { + ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript'); + } + var xmpFile = new XMPFile(src.fsName, XMPConst.FILE_UNKNOWN, XMPConst.OPEN_FOR_READ); + var xmpPackets = xmpFile.getXMP(); + var xmp = new XMPMeta(xmpPackets.serialize()); + + var namespace = 'http://ns.adobe.com/xap/1.0/t/pg/'; + var prop = 'xmpTPg:MaxPageSize'; + var unit = prop + '/stDim:unit'; + + var ruler = xmp.getProperty(namespace, unit).value; + return ruler; +} + + /** * Get swatch properties used in the document from XMP. - * https://www.adobe.io/xmp/docs/XMPNamespaces/xmpTPg/ + * https://developer.adobe.com/xmp/docs/XMPNamespaces/xmpTPg/ * * @param {File} src File object * @returns {{colorant: diff --git a/scripts/selectMissingLink.js b/scripts/selectMissingLink.js new file mode 100755 index 0000000..b0442b1 --- /dev/null +++ b/scripts/selectMissingLink.js @@ -0,0 +1,55 @@ +/* =============================================================================================================================================== + selectMissingLink + + Description + This script selects all missing linked files. + + Usage + Just run this script from File > Scripts > Other Script... + + Notes + Locked and hidden missing files are not selected. The layer also as well. + In rare cases, the script may not work if you continue to use it. + In this case, restart Illustrator and try again. + + Requirements + Illustrator CS or higher + + Version + 1.0.0 + + Homepage + github.com/sky-chaser-high/adobe-illustrator-scripts + + License + Released under the MIT license. + https://opensource.org/licenses/mit-license.php + =============================================================================================================================================== */ + +(function() { + if (app.documents.length && isValidVersion()) main(); +})(); + + +function main() { + var links = app.activeDocument.placedItems; + if (!links.length) return; + + for (var i = 0; i < links.length; i++) { + var link = links[i]; + try { + link.file.name; + } + catch (err) { + if (link.editable) link.selected = true; + } + } +} + + +function isValidVersion() { + var cs = 11; + var current = parseInt(app.version); + if (current < cs) return false; + return true; +}