Skip to content

Commit

Permalink
add moveGuides.js, update removeColorInGuideObject.js, selectGuides.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-chaser-high committed Aug 12, 2023
1 parent 69e24dd commit 7130e7b
Show file tree
Hide file tree
Showing 7 changed files with 464 additions and 61 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,29 @@
<br><br>


## removeColorInGuideObject.js
### 1.0.1 (2023-08-12)
### Changes
- Changed to restore the layer state.
### Bug Fixes
- Fixed a bug that caused incorrect behavior when no guide objects were in the document.
<br><br>


## resetToFullScale.js
### 1.0.1 (2023-03-26)
### Bug Fixes
- Fixed a bug in the images to shift position.
<br><br>


## selectGuides.js
### 1.0.1 (2023-08-12)
### Bug Fixes
- Fixed a bug that caused incorrect behavior when no guide objects were in the document.
<br><br>


## showArtboardName.js
### 1.2.0 (2023-05-04)
### Added
Expand Down
51 changes: 40 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you find a script that interests you, please download it from [![Download](ht
- [Add Selected Gradients to Swatch](#addSelectedGradientsToSwatchjs)
- [Convert to Global Color](#convertToGlobalColorjsconvertToSpotColorjs)
- [Convert to Spot Color](#convertToGlobalColorjsconvertToSpotColorjs)
- [Create Color Chart](#createColorChartjs) `Update`
- [Create Color Chart](#createColorChartjs)
- [Delete All Swatches](#deleteAllSwatchesjs)
- [Export Color Values to CSV](#exportColorValuesToCSVjs)
- [Extract Colors from Gradient](#extractColorsFromGradientjs)
Expand Down Expand Up @@ -54,7 +54,7 @@ If you find a script that interests you, please download it from [![Download](ht

### 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)
- [Add Anchor Points](#addAnchorPointsjs) `New`
- [Add Anchor Points](#addAnchorPointsjs)
- [Align in Center of Space (Horizontal)](#alignInCenterOfSpaceHorizontaljsalignInCenterOfSpaceVerticaljs)
- [Align in Center of Space (Vertical)](#alignInCenterOfSpaceHorizontaljsalignInCenterOfSpaceVerticaljs)
- [Close Path](#closePathjs)
Expand All @@ -73,8 +73,9 @@ If you find a script that interests you, please download it from [![Download](ht
- [Fit Guide in Artboard](#fitGuideInArtboardjs)
- [Increase Selected Anchor Points Clockwise](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs)
- [Increase Selected Anchor Points Counterclockwise](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs)
- [Remove Color in Guide Object](#removeColorInGuideObjectjs)
- [Select Guides](#selectGuidesjs)
- [Move Guides](#moveGuidesjs) `New`
- [Remove Color in Guide Object](#removeColorInGuideObjectjs) `Update`
- [Select Guides](#selectGuidesjs) `Update`
- [Shift Selected Anchor Points Clockwise](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs)
- [Shift Selected Anchor Points Counterclockwise](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs)
- [Show Dimensions](#showDimensionsjs)
Expand Down Expand Up @@ -143,6 +144,11 @@ The following extensions or software make it easy to run scripts.
## UI
[ScriptUI Dialog Builder (SDB)](https://scriptui.joonas.me/) was used to design the UI.
**See also:** [ScriptUI-Dialog-Builder-Joonas](https://github.com/joonaspaakko/ScriptUI-Dialog-Builder-Joonas).


## Development Environment
OS: macOS Ventura 13.4
Test: Adobe Illustrator 2020-2023
<br><br><br>


Expand Down Expand Up @@ -1387,6 +1393,32 @@ Illustrator CS4 or higher



# <a name="moveGuidesjs">moveGuides.js</a>
[![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)
This script moves all guide objects to a specified layer, frontmost, and backmost.

![Move Guides](images/moveGuides.png)

### Usage
1. Run this script. There is no need to select any guide objects.
2. Select a destination.
`Layer` Move to the specified layer. If it does not exist, create a new layer.
`Bring to Front` Move to the frontmost of each layer.
`Send to Back` Move to the backmost of each layer.

> **Note**
> Guides in locked or hidden layers are not supported.
### Requirements
Illustrator CS6 or higher

<div align="right">[ <a href="#path">↑ Back to Top ↑</a> ]</div>
<br>





# <a name="moveLineDownjsmoveLineUpjs">moveLineDown.js<br>moveLineUp.js</a>
[![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)
This script is equivalent to Visual Studio Code's Selection menu
Expand Down Expand Up @@ -1565,13 +1597,10 @@ This script removes fill and stroke colors in all guide objects.
![Remove Color In Guide Object](images/removeColorInGuideObject.png)

### Usage
Just run this script.
It is not necessary to select guide objects.
Just run this script. There is no need to select any guide objects.

> **Note**
> Show and unlock all layers.
> Guide objects hidden with <kbd>⌘</kbd> / <kbd>Ctrl</kbd> + <kbd>3</kbd> are not supported.
> If you have added fill or stroke colors in the Appearance panel, they may not work well.
> If you have added fill or stroke colors in the Appearance panel, they may not work properly.
### Requirements
Illustrator CS6 or higher
Expand Down Expand Up @@ -1688,13 +1717,13 @@ Illustrator CS or higher

# <a name="selectGuidesjs">selectGuides.js</a>
[![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)
This script selects guide objects.
This script selects all guide objects.

### Usage
Just run this script.

> **Warning**
> Locked or hidden guides are not selected. The layer also as well.
> Guides in locked or hidden layers are not supported.
### Requirements
Illustrator CS6 or higher
Expand Down
48 changes: 40 additions & 8 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Adobe Illustratorのスクリプト集です。
| [addSelectedGradientsToSwatch.js](#addSelectedGradientsToSwatchjs) | 選択したグラデーションをスウォッチに追加 |
| [convertToGlobalColor.js](#convertToGlobalColorjsconvertToSpotColorjs) | グローバルカラーに変換 |
| [convertToSpotColor.js](#convertToGlobalColorjsconvertToSpotColorjs) | 特色に変換 |
| [createColorChart.js](#createColorChartjs) `Update` | カラーチャート作成 |
| [createColorChart.js](#createColorChartjs) | カラーチャート作成 |
| [deleteAllSwatches.js](#deleteAllSwatchesjs) | すべてのスウォッチを削除 |
| [exportColorValuesToCSV.js](#exportColorValuesToCSVjs) | カラー数値をCSVファイルに保存 |
| [extractColorsFromGradient.js](#extractColorsFromGradientjs) | グラデーションのカラー分岐点から色を取り出す |
Expand Down Expand Up @@ -70,7 +70,7 @@ Adobe Illustratorのスクリプト集です。
[![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)
| スクリプト | 概要 |
| --- | --- |
| [addAnchorPoints.js](#addAnchorPointsjs) `New` | アンカーポイントを等間隔に追加 |
| [addAnchorPoints.js](#addAnchorPointsjs) | アンカーポイントを等間隔に追加 |
| [alignInCenterOfSpace(Horizontal).js](#alignInCenterOfSpaceHorizontaljsalignInCenterOfSpaceVerticaljs) | 余白の水平方向中央に整列 |
| [alignInCenterOfSpace(Vertical).js](#alignInCenterOfSpaceHorizontaljsalignInCenterOfSpaceVerticaljs) | 余白の垂直方向中央に整列 |
| [closePath.js](#closePathjs) | パスを閉じる |
Expand All @@ -89,8 +89,9 @@ Adobe Illustratorのスクリプト集です。
| [fitGuideInArtboard.js](#fitGuideInArtboardjs) | ガイドをアートボードにフィット |
| [increaseSelectedAnchorPointsCW.js](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs) | 選択中のアンカーポイント数を時計回りに増やす |
| [increaseSelectedAnchorPointsCCW.js](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs) | 選択中のアンカーポイント数を反時計回りに増やす |
| [removeColorInGuideObject.js](#removeColorInGuideObjectjs) | ガイドオブジェクトの色を削除 |
| [selectGuides.js](#selectGuidesjs) | ガイドを選択 |
| [moveGuides.js](#moveGuidesjs) `New` | ガイドを移動 |
| [removeColorInGuideObject.js](#removeColorInGuideObjectjs) `Update` | ガイドオブジェクトの色を削除 |
| [selectGuides.js](#selectGuidesjs) `Update` | ガイドを選択 |
| [shiftSelectedAnchorPointsCW.js](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs) | 選択中のアンカーポイントを時計回りに移動 |
| [shiftSelectedAnchorPointsCCW.js](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs) | 選択中のアンカーポイントを反時計回りに移動 |
| [showDimensions.js](#showDimensionsjs) | パスの寸法を表示 |
Expand Down Expand Up @@ -178,6 +179,11 @@ ZIPファイルを[ダウンロード](https://github.com/sky-chaser-high/adobe-
UIのあるスクリプトはすべて日本語の表示になります。
UIデザインツールには、[ScriptUI Dialog Builder (SDB)](https://scriptui.joonas.me/) を使用しました。
ツールの詳細は [ScriptUI-Dialog-Builder-Joonas](https://github.com/joonaspaakko/ScriptUI-Dialog-Builder-Joonas) を参照してください。


### 開発環境
OS: macOS Ventura 13.4
テスト: Adobe Illustrator 2020-2023
<br><br><br>


Expand Down Expand Up @@ -1441,6 +1447,34 @@ Illustrator CS4以降



# <a name="moveGuidesjs">moveGuides.js</a>
[![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)
すべてのガイドオブジェクトを指定したレイヤー、最前面、または最背面へ移動します。

![Move Guides](images/moveGuides.png)
> **Note** Illustrator日本語版を使用している場合は、UIは日本語で表示します。
#### 使用方法
1. スクリプトを実行します。
ガイドオブジェクトを選択する必要はありません。
2. 移動先を選択します。
`レイヤー` 指定したレイヤーへ移動します。存在しない場合は、新規レイヤーを作成します。
`最前面へ` 各レイヤーの最前面へ移動します。
`最背面へ` 各レイヤーの最背面へ移動します。

> **Note**
> 非表示やロックされているレイヤー内のガイドは移動しません。
#### 動作条件
Illustrator CS6以降

<div align="right">[ <a href="#パス">↑ トップへ戻る ↑</a> ]</div>
<br>





# <a name="moveLineDownjsmoveLineUpjs">moveLineDown.js<br>moveLineUp.js</a>
[![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)
Visual Studio Code の「行を下へ移動」( <kbd>Option</kbd> / <kbd>Alt</kbd> + <kbd>↓</kbd> )、
Expand Down Expand Up @@ -1627,8 +1661,6 @@ Illustrator CS4以降
ガイドオブジェクトを選択する必要はありません。

> **Note**
> すべてのレイヤーを表示してロックを解除します。
> <kbd>⌘</kbd> / <kbd>Ctrl</kbd> + <kbd>3</kbd> で非表示のガイドオブジェクトは対象になりません。
> アピアランスで塗りや線の色を追加している場合は、削除できない場合があります。
#### 動作条件
Expand Down Expand Up @@ -1745,13 +1777,13 @@ Illustrator CS以降

# <a name="selectGuidesjs">selectGuides.js</a>
[![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)
ガイドオブジェクトを選択します
すべてのガイドオブジェクトを選択します

#### 使用方法
このスクリプトを実行するだけです。

> **Warning**
> ロックまたは非表示状態では選択しません。レイヤーの状態も同様です
> 非表示やロックされているレイヤー内のガイドは移動しません
#### 動作条件
Illustrator CS6以降
Expand Down
Binary file added images/moveGuides.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7130e7b

Please sign in to comment.