【PhotoShop Script】TXTLayer _ 原稿(.txt)からテキストレイヤー作成
- Digital2,000 JPY


選択したテキストレイヤーをベースに、 .txt ファイルから複数のテキストレイヤーをまとめて生成する Photoshop スクリプトです。 ・主な機能 ・.txt ファイルからテキストレイヤーを一括生成 選択中のテキストレイヤー(またはテキストレイヤーを含むグループ)を複製し、 .txt ファイルの各行・各ブロックを各レイヤーのテキスト内容として流し込みます。 元のレイヤーのフォント・スタイル・位置はそのまま維持されます。 ・通し番号の付与 ・セーフティ調整 ・動作環境 mac M1 MAX (OS Tahoe 26.1) - Adobe Photoshop 2026, 2025 で検証済 ・注意事項 実行前に元になるテキストレイヤー(またはテキストレイヤーを含むグループ)を選択してください 読み込めるのはプレーンテキスト(.txt)のみです。XML / HTML / RTF / PDF などは自動で弾かれます 同名のレイヤーが既に存在する場合、 新規レイヤー名には自動で「_1」「_2」… のサフィックスが付きます 利用規約 ・使用する場合は自己責任でお願いいたします ・法律に反する行為への使用は禁止いたします ・データの再販売、再配布する事は禁止いたします ・正しく動作しない、データが破損したなど損害が発生した場合も対応しておりません ・インボイス非対応になります ーーーーーー This is a Photoshop script that generates multiple text layers from a .txt file, based on a selected text layer. (English description below.) Key Features: Batch Text Layer Generation from .txt — Duplicates the selected text layer (or group containing a text layer) and fills each duplicate with a line or block from a .txt file. The source layer's font, style, and position are preserved across every generated layer. Two Reading Modes — Switch between "Single line" (each line becomes one layer) and "Multi-line set" (blocks separated by blank lines become one layer each, joined with line breaks) via a radio button. An optional "add line break for single-line entries" setting prepends a line break to single-line items so layout positions stay aligned. Optional Auto-Numbering — Prepends a sequential number to each layer name with a customizable start number and prefix string. Lines marked as "blank" inherit the next non-blank number with a "-" suffix (e.g. 001-_blank), useful for storyboards with blank insert frames. Optional Symbol Removal — Strips half-width spaces and filename-unsafe characters (. / \ : * ? " < > | % # { } ^ [ ] ` ~) from layer names. Optional Safety Adjustment — Text wider than a specified percentage of the document width (default 95%) is automatically scaled down horizontally to fit. Auto Centering & Hidden by Default — All generated layers are horizontally centered in the document and set to hidden on creation. System Requirements: Verified on Mac M1 MAX (OS Tahoe 26.1) - Adobe Photoshop 2026, 2025. Notes: A text layer (or a group containing a text layer) must be selected before running. Only plain text (.txt) files are accepted — XML / HTML / RTF / PDF are rejected automatically. If a generated layer name collides with an existing layer, "_1", "_2"… is appended automatically.

