This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Display ICC profile name of the selected linked image in dialog by Illustrator | |
* [Getting Placed Image's ICC Profile with Illustrator ExtendScript](https://community.adobe.com/t5/illustrator-discussions/getting-placed-image-s-icc-profile-with-illustrator-extendscript/td-p/14569584) | |
* @version 1.0.0 | |
* @author sttk3.com | |
* @copyright © 2024 sttk3.com | |
*/ | |
(function() { | |
if(app.documents.length <= 0) {return ;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Illustratorの合成フォントの内訳PostScript Nameを取得し、alertで表示するサンプル用ExtendScript | |
* @version 1.0.1 | |
* @author sttk3.com | |
* @copyright © 2024 sttk3.com | |
*/ | |
//@target 'illustrator' | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file Sample script to enable/disable the contextual task bar in Illustrator. | |
* Requires Illustrator 2024(28) or later | |
* @version 1.0.0 | |
* @author sttk3.com | |
* @copyright © 2024 sttk3.com | |
*/ | |
(function() { | |
var key = 'ContextualTaskBarEnabled' ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file captureFont.jsxで記憶したフォントを選択しているテキストに適用する | |
* @version 1.0.0 | |
* @author sttk3.com | |
* @copyright © 2023 sttk3.com | |
*/ | |
//@target 'illustrator' | |
//@targetengine 'com.sttk3.attributes' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file 選択しているテキストのフォントをtargetengineに記憶する。pasteFont.jsxとセットで利用する | |
* @version 1.0.0 | |
* @author sttk3.com | |
* @copyright © 2023 sttk3.com | |
*/ | |
//@target 'illustrator' | |
//@targetengine 'com.sttk3.attributes' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file calculate rotation angle at which segment becomes 27mm width | |
* @version 1.0.0 | |
* @author sttk3.com | |
* @copyright © 2023 sttk3.com | |
*/ | |
(function() { | |
// config | |
var dstWidth = 27 ; // as mm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file 指定した数の色でランダムに塗るIllustratorスクリプト。 | |
* 線と塗り両方に対応。テキスト,複合パス/グループの配下への適用可能。 | |
* 元ネタは→[【Illustratorスクリプト】指定した数の色でランダムに塗るスクリプト。 - ふわふわぷかぷか](https://fuwafuwapukapuka.hatenablog.com/entry/2023/02/16/032354) | |
* @version 1.0.0 | |
* @author sttk3.com | |
*/ | |
//@target 'illustrator' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file すべてのアートボードのサイズをvisibleBoundsでフィットさせる | |
* @version 1.1.0 | |
* @author sttk3.com | |
* @copyright © 2022 sttk3.com | |
*/ | |
//#target 'illustrator' | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file trim strokes | |
* https://community.adobe.com/t5/illustrator-discussions/creating-a-sliced-path-dashed-dotted-path/m-p/12736845 | |
* @version 0.1.0 | |
* @author sttk3.com | |
* @copyright © 2022 sttk3.com | |
*/ | |
//@target 'illustrator' | |
//@targetengine 'com.sttk3.trimStroke' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file expand dashed strokes | |
* https://community.adobe.com/t5/illustrator-discussions/js-action-split-or-break-a-dashed-line-into-separate-real-lines-by-script/td-p/12614309 | |
* @version 1.1.0 | |
* @author sttk3.com | |
* @copyright © 2022 sttk3.com | |
*/ | |
//@target 'illustrator' | |
//@targetengine 'com.sttk3.expandDashedStroke' |