This file contains hidden or 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
| // Illustrator用スクリプト | |
| // 選択されたテキストオブジェクトに「効果 > パス > オブジェクトのアウトライン」を適用します | |
| // テキストオブジェクトではないものが混在していてもOK | |
| // グループが混在していてもOK | |
| if (app.documents.length > 0) { | |
| var doc = app.activeDocument; | |
| var originalSelection = doc.selection; // 現在の選択状態を一時保存 | |
| if (originalSelection.length === 0) { |
This file contains hidden or 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
| // InDesignでよく設定変更するものをウィンドウで一括操作できます | |
| // レイアウトグリッドにスナップ | |
| // スマートガイド | |
| // 再リンク時に画像サイズを保持 | |
| // 境界線の線幅を含む | |
| // 定規開始位置 | |
| // トリミング | |
| // ウィンドウ表示時の設定は現状の設定です | |
| // 変更してOKボタンを押すと設定が変更されます |
This file contains hidden or 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
| // アクティブなアートボードをキャプチャします | |
| // デスクトップにpngファイルを保存します | |
| // カラープロファイルは埋め込まれませんが、作業用RGBになります | |
| // こちらの記事を元にしました https://ten-artai.com/2016/09/337/ | |
| // 日時を元に一意のファイル名を生成 | |
| function getTimestamp() { | |
| var now = new Date(); | |
| var yyyy = now.getFullYear(); | |
| var mm = ("0" + (now.getMonth() + 1)).slice(-2); |
This file contains hidden or 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
| -- ドロップレットの作り方 | |
| -- このファイルをスクリプトエディタで開く | |
| -- optionキーを押しながらメニュー「ファイル > 別名で保存...」 | |
| -- ファイルフォーマットを「アプリケーション」にして保存ボタン | |
| on open droppedItems | |
| -- ドロップされたとき | |
| processItems(droppedItems) | |
| end open |
This file contains hidden or 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
| // 選択オブジェクトにアートボードサイズを合わせ、さらに上下左右を0.1mm拡張します | |
| // 選択されていなければ、ドキュメント全体に合わせます | |
| // 設定:アートボード拡張量(mm) | |
| var marginMM = 0.1; // 上下左右に追加するマージン(mm) | |
| // mmからptに単位変換 | |
| var marginPt = marginMM * 2.834645; | |
| if (app.documents.length === 0) { |
This file contains hidden or 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
| (function () { | |
| if (app.documents.length < 1) { | |
| alert("ドキュメントが開かれていません。"); | |
| return; | |
| } | |
| if (app.selection.length < 1) { | |
| alert("グラフィックフレームまたはその中のオブジェクトを選択してください。"); | |
| return; | |
| } |
This file contains hidden or 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
| //非表示オブジェクトを表示して選択状態にするInDesign用スクリプト | |
| //Undo履歴を実行1回で1つにする | |
| app.doScript(Main, ScriptLanguage.JAVASCRIPT, [], UndoModes.ENTIRE_SCRIPT); | |
| function Main() { | |
| //アクティブなスプレッド内を対象にする | |
| var items = app.activeWindow.activeSpread.pageItems; | |
| var targetItems = []; | |
This file contains hidden or 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
| // Illustratorでタブのリーダーが全角中黒なら半角中黒に変える | |
| // ドキュメント全体を対称にする | |
| #target illustrator | |
| function changeTabLeader() { | |
| // Illustratorのドキュメントが開かれているか確認 | |
| if (app.documents.length === 0) { | |
| alert("ドキュメントが開かれていません。"); | |
| return; |
This file contains hidden or 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
| # モリサワのMin2にない漢字 | |
| # Version 2024-12-27 | |
| # Prepared by @monokano | |
| # | |
| # Kanji present in Adobe-Japan1-3 but not in Morisawa Min2 | |
| # | |
| # 1 = Adobe-Japan1 CID | |
| # 2 = Adobe-Japan1 Supplement | |
| # 3 = Unicode Code point | |
| # 4 = Character |
This file contains hidden or 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
| --Min2にない漢字は「」内に記載 | |
| 推敲(すいこう)「敲」 | |
| 執拗(しつよう)「拗」 | |
| 範疇(はんちゅう)「疇」 | |
| 明晰(めいせき)「晰」 | |
| 憐憫(れんびん)「憫」 | |
| 不憫(ふびん)「憫」 | |
| 飢饉(ききん)「饉」 | |
| 矜持(きょうじ)「矜」 |