Skip to content

Commit

Permalink
update closeAllDocuments.js, compareScale.js, goToLine.js, measureDis…
Browse files Browse the repository at this point in the history
…tance.js, selectLink.js
  • Loading branch information
sky-chaser-high committed Aug 27, 2023
1 parent 7130e7b commit 5c846af
Show file tree
Hide file tree
Showing 10 changed files with 663 additions and 292 deletions.
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,27 @@
<br><br>


## clothPath.js
## closeAllDocuments.js
### 1.1.0 (2023-08-27)
### Changes
- Changed the UI to look more like Illustrator.
<br><br>


## closePath.js
### 1.1.0 (2023-05-04)
### Changes
- Improved curve processing.
<br><br>


## compareScale.js
### 1.0.1 (2023-08-27)
### Changes
- Changed localization method.
<br><br>


## copyLineDown.js
### 1.0.1 (2022-10-28)
### Bug Fixes
Expand Down Expand Up @@ -116,6 +130,15 @@
<br><br>


## goToLine.js
### 1.0.1 (2023-08-27)
### Features
- A line number can now be increased or decreased by pressing the up or down cursor keys.
### Changes
- Changed localization method.
<br><br>


## importCSVtoSwatch.js
### 1.2.0 (2023-04-08)
### Features
Expand Down Expand Up @@ -155,6 +178,9 @@


## measureDistance.js
### 1.2.0 (2023-08-27)
### Added
- Labels are now displayed at anchor points.
### 1.1.0 (2023-05-14)
### Added
- Handle positions are now displayed for curves.
Expand Down Expand Up @@ -236,6 +262,15 @@
<br><br>


## selectLink.js
### 1.1.0 (2023-08-27)
### Added
- Added a list box to display linked file names.
### Changes
- Changed localization method.
<br><br>


## showArtboardName.js
### 1.2.0 (2023-05-04)
### Added
Expand Down
47 changes: 25 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ If you find a script that interests you, please download it from [![Download](ht
- [Relink to Folder](#relinkToFolderjs)
- [Reset to Full Scale](#resetToFullScalejs)
- [Select Embedded Link](#selectEmbeddedLinkjs)
- [Select Link](#selectLinkjs)
- [Select Link](#selectLinkjs) `Update`

### 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)
Expand All @@ -73,9 +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)
- [Move Guides](#moveGuidesjs) `New`
- [Remove Color in Guide Object](#removeColorInGuideObjectjs) `Update`
- [Select Guides](#selectGuidesjs) `Update`
- [Move Guides](#moveGuidesjs)
- [Remove Color in Guide Object](#removeColorInGuideObjectjs)
- [Select Guides](#selectGuidesjs)
- [Shift Selected Anchor Points Clockwise](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs)
- [Shift Selected Anchor Points Counterclockwise](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs)
- [Show Dimensions](#showDimensionsjs)
Expand All @@ -96,7 +96,7 @@ If you find a script that interests you, please download it from [![Download](ht
- [Delete Trailing Spaces](#deleteTrailingSpacesjs)
- [Delete Word](#deleteWordjs)
- [Enclose Word in Parentheses](#encloseWordInParenthesesjs)
- [Go to Line](#goToLinejs)
- [Go to Line](#goToLinejs) `Update`
- [Go to Next Text](#goToNextTextjsgoToPreviousTextjs)
- [Go to Previous Text](#goToNextTextjsgoToPreviousTextjs)
- [Insert Line Above](#insertLineAbovejsinsertLineBelowjs)
Expand All @@ -113,9 +113,9 @@ If you find a script that interests you, please download it from [![Download](ht
[![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)
- [Arrange Windows](#arrangeWindowsjs)
- [Check Day of Week](#checkDayOfWeekjs)
- [Close All Documents](#closeAllDocumentsjs)
- [Close All Documents](#closeAllDocumentsjs) `Update`
- [Compare Scale](#compareScalejs)
- [Measure the Distance](#measureDistancejs)
- [Measure Distance](#measureDistancejs) `Update`
- [Sum Numbers](#sumNumbersjs)
- [Sync View](#syncViewjs)
<br><br><br>
Expand Down Expand Up @@ -149,6 +149,11 @@ The following extensions or software make it easy to run scripts.
## Development Environment
OS: macOS Ventura 13.4
Test: Adobe Illustrator 2020-2023


## License
All scripts are licensed under the MIT license.
See the included LICENSE file for more details.
<br><br><br>


Expand Down Expand Up @@ -300,14 +305,13 @@ Illustrator CS4 or higher

# <a name="closeAllDocumentsjs">closeAllDocuments.js</a>
[![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)
This script closes all documents.
If there are documents not saved, choose to save them.
This script closes all documents.

> **Note**
> It has been implemented in the File menu since version 2021.
### Usage
Just run this script.
Just run this script. If there are unsaved documents, choose to save them or not.

### Requirements
Illustrator CS4 or higher
Expand Down Expand Up @@ -340,7 +344,7 @@ Illustrator CS or higher

# <a name="compareScalejs">compareScale.js</a>
[![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)
This script compares two objects' scales.
This script compares the scales of two objects.

![Compare Scale](images/compareScale.png)

Expand Down Expand Up @@ -1093,8 +1097,7 @@ Illustrator CS4 or higher

# <a name="goToLinejs">goToLine.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 Go menu
"Go to Line/Column..."( <kbd>Ctrl</kbd> + <kbd>G</kbd> ).
This script is equivalent to Visual Studio Code's Go menu > "Go to Line/Column..."( <kbd>Ctrl</kbd> + <kbd>G</kbd> ).
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.
Both point and area types are supported.
Expand All @@ -1108,7 +1111,7 @@ Both point and area types are supported.
2. Enter a line number or select a line from the list below that you want to move.

> **Warning**
> Since using copy and paste functions inside the script, it will lose if you have copied the content in advance.
> Since using copy and paste functions inside the script, it will be lost if you have copied the content in advance.
> **Note**
> Pan that the selected line is centered in the window.
Expand Down Expand Up @@ -1381,7 +1384,8 @@ Select two anchor points with Direct Selection Tool, and run this script.
> Highlight the measurement points.
> The angle is based on point #1. Range: -180.0 to 180.0
> The dimension units depend on the ruler units.
> Anchor points for type on a path and area types are also supported.
> Anchor points for type on a path and area types are also supported.
> Due to the small font size, labels will not appear when enlarged above 15500%.
### Requirements
Illustrator CS4 or higher
Expand Down Expand Up @@ -1737,21 +1741,20 @@ Illustrator CS6 or higher

# <a name="selectLinkjs">selectLink.js</a>
[![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)
This script selects linked files.
<img src="images/selectLink.png" alt="Select Link" width="70%">
This script selects the specified link files.

<img src="images/selectLink.png" alt="Select Link" width="50%">

### Usage
1. Run this script.
2. Enter a file name. It can also be part of the file name.
2. Enter a file name. It can also be part of the file name. Or select it from the list below.
If the text field is empty, all linked files are selected.
Regular expressions are supported.

> **Warning**
> **Note**
> Locked or hidden linked files are not selected. The layer also as well.
> Missing linked files may not be selected.
> **Note**
> Regular expressions are supported.
### Requirements
Illustrator CS4 or higher

Expand Down
37 changes: 21 additions & 16 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Adobe Illustratorのスクリプト集です。
| [relinkToFolder.js](#relinkToFolderjs) | フォルダに再リンク |
| [resetToFullScale.js](#resetToFullScalejs) | 画像サイズを100%に戻す |
| [selectEmbeddedLink.js](#selectEmbeddedLinkjs) | 埋め込み画像を選択 |
| [selectLink.js](#selectLinkjs) | リンクを選択 |
| [selectLink.js](#selectLinkjs) `Update` | リンクを選択 |

<br>

Expand All @@ -89,9 +89,9 @@ Adobe Illustratorのスクリプト集です。
| [fitGuideInArtboard.js](#fitGuideInArtboardjs) | ガイドをアートボードにフィット |
| [increaseSelectedAnchorPointsCW.js](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs) | 選択中のアンカーポイント数を時計回りに増やす |
| [increaseSelectedAnchorPointsCCW.js](#increaseSelectedAnchorPointsCWjsincreaseSelectedAnchorPointsCCWjs) | 選択中のアンカーポイント数を反時計回りに増やす |
| [moveGuides.js](#moveGuidesjs) `New` | ガイドを移動 |
| [removeColorInGuideObject.js](#removeColorInGuideObjectjs) `Update` | ガイドオブジェクトの色を削除 |
| [selectGuides.js](#selectGuidesjs) `Update` | ガイドを選択 |
| [moveGuides.js](#moveGuidesjs) | ガイドを移動 |
| [removeColorInGuideObject.js](#removeColorInGuideObjectjs) | ガイドオブジェクトの色を削除 |
| [selectGuides.js](#selectGuidesjs) | ガイドを選択 |
| [shiftSelectedAnchorPointsCW.js](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs) | 選択中のアンカーポイントを時計回りに移動 |
| [shiftSelectedAnchorPointsCCW.js](#shiftSelectedAnchorPointsCWjsshiftSelectedAnchorPointsCCWjs) | 選択中のアンカーポイントを反時計回りに移動 |
| [showDimensions.js](#showDimensionsjs) | パスの寸法を表示 |
Expand All @@ -116,7 +116,7 @@ Adobe Illustratorのスクリプト集です。
| [deleteTrailingSpaces.js](#deleteTrailingSpacesjs) | 行末のスペースを削除 |
| [deleteWord.js](#deleteWordjs) | カーソル位置の単語を削除 |
| [encloseWordInParentheses.js](#encloseWordInParenthesesjs) | 文字列を括弧で囲む |
| [goToLine.js](#goToLinejs) | 指定の行に移動 |
| [goToLine.js](#goToLinejs) `Update` | 指定の行に移動 |
| [goToNextText.js](#goToNextTextjsgoToPreviousTextjs) | カーソルを次のテキストオブジェクトへ移動 |
| [goToPreviousText.js](#goToNextTextjsgoToPreviousTextjs) | カーソルを前のテキストオブジェクトへ移動 |
| [insertLineAbove.js](#insertLineAbovejsinsertLineBelowjs) | 上に行を挿入 |
Expand All @@ -137,9 +137,9 @@ Adobe Illustratorのスクリプト集です。
| --- | --- |
| [arrangeWindows.js](#arrangeWindowsjs) | ウィンドウを並べて表示 |
| [checkDayOfWeek.js](#checkDayOfWeekjs) | 選択した日付の曜日をチェック |
| [closeAllDocuments.js](#closeAllDocumentsjs) | すべてのファイルを閉じる |
| [closeAllDocuments.js](#closeAllDocumentsjs) `Update` | すべてのドキュメントを閉じる |
| [compareScale.js](#compareScalejs) | 拡大・縮小率を表示 |
| [measureDistance.js](#measureDistancejs) | 距離を測る |
| [measureDistance.js](#measureDistancejs) `Update` | 距離を測る |
| [sumNumbers.js](#sumNumbersjs) | 文字列内の数字を足す |
| [syncView.js](#syncViewjs) | ウィンドウの表示を同期 |

Expand Down Expand Up @@ -184,6 +184,11 @@ UIデザインツールには、[ScriptUI Dialog Builder (SDB)](https://scriptui
### 開発環境
OS: macOS Ventura 13.4
テスト: Adobe Illustrator 2020-2023


### ライセンス
MITライセンスのもとで公開しています。
詳しくはLICENSEファイルをご覧ください。
<br><br><br>


Expand Down Expand Up @@ -337,14 +342,14 @@ Illustrator CS4以降

# <a name="closeAllDocumentsjs">closeAllDocuments.js</a>
[![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)
すべてのファイルを閉じます。
編集中のファイルがある場合は、保存してから閉じるかを選択します。
すべてのドキュメントを閉じます。

> **Note**
> バージョン2021からファイルメニューに実装されています。
#### 使用方法
このスクリプトを実行するだけです。
編集中のドキュメントがある場合は、保存するかしないかを選択します。

#### 動作条件
Illustrator CS4以降
Expand Down Expand Up @@ -1435,7 +1440,8 @@ Illustrator CS4以降
> 測定箇所をハイライトします。
> 角度はポイント#1を基準にします。
> 寸法の単位はルーラー単位により変わります。
> パス上文字、エリア内文字のアンカーポイントにも対応しています。
> パス上文字、エリア内文字のアンカーポイントにも対応しています。
> フォントサイズが小さくなりすぎるため、15500%以上に拡大表示するとラベルが表示されません。
#### 動作条件
Illustrator CS4以降
Expand Down Expand Up @@ -1797,23 +1803,22 @@ Illustrator CS6以降

# <a name="selectLinkjs">selectLink.js</a>
[![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)
リンクを選択します。
<img src="images/selectLink.png" alt="Select Link" width="70%">
リンクを選択します。

<img src="images/selectLink.png" alt="Select Link" width="50%">

> **Note** Illustrator日本語版を使用している場合は、UIは日本語で表示します。
#### 使用方法
1. スクリプトを実行します。
2. ファイル名を入力します。ファイル名の一部でも可能です。
何も入力しない場合は、すべてのリンクを選択します。
正規表現に対応しています。

> **Warning**
> **Note**
> ロックまたは非表示状態では選択しません。レイヤーの状態も同様です。
> リンク切れ画像は選択できない場合があります。
> **Note**
> 正規表現に対応しています。
#### 動作条件
Illustrator CS4以降

Expand Down
Binary file modified images/measureDistance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/selectLink.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 5c846af

Please sign in to comment.