{"id":30940634,"url":"https://github.com/konata91008/smarttextalign","last_synced_at":"2026-05-14T12:33:07.279Z","repository":{"id":310471565,"uuid":"1039805569","full_name":"konata91008/SmartTextAlign","owner":"konata91008","description":"Text alignment tool for Adobe Illustrator with scaling and tracking options","archived":false,"fork":false,"pushed_at":"2025-08-18T09:28:32.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T23:24:58.163Z","etag":null,"topics":["adobe","illustrator","jsx","script","text-alignment"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/konata91008.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T02:23:23.000Z","updated_at":"2025-08-18T09:40:09.000Z","dependencies_parsed_at":"2025-08-18T11:36:35.469Z","dependency_job_id":null,"html_url":"https://github.com/konata91008/SmartTextAlign","commit_stats":null,"previous_names":["konata91008/smarttextalign"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/konata91008/SmartTextAlign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konata91008%2FSmartTextAlign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konata91008%2FSmartTextAlign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konata91008%2FSmartTextAlign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konata91008%2FSmartTextAlign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konata91008","download_url":"https://codeload.github.com/konata91008/SmartTextAlign/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konata91008%2FSmartTextAlign/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000703,"owners_count":26082837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adobe","illustrator","jsx","script","text-alignment"],"created_at":"2025-09-10T21:01:21.530Z","updated_at":"2025-10-08T21:44:01.225Z","avatar_url":"https://github.com/konata91008.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TextAlignBoxMix - 文字區塊對齊工具\n\n![Logo](./images/2.png)\n\n一個專為 Adobe Illustrator 設計的文字對齊腳本，提供縮放文字和調整字距兩種方式來對齊文字區塊，讓您的文字排版更加整齊美觀。\n\n## 功能特色\n\n- 🎯 **雙重對齊方式**：支援縮放文字和調整字距兩種對齊方法\n- 📏 **智慧寬度偵測**：自動計算最寬文字區塊作為對齊基準\n- 🔤 **字距精準調整**：智慧計算所需的字距調整值\n- 📐 **自動行距計算**：根據現有文字間距自動設定行距\n- 🖥️ **友善使用介面**：簡潔的對話框操作介面\n\n## 安裝方法\n\n### Windows 系統\n將 `TextAlignBoxMix.jsx` 檔案複製到以下路徑：\n```\nC:\\Program Files\\Adobe\\Adobe Illustrator [版本]\\Presets\\zh_TW\\指令檔\n```\n或\n```\nC:\\Users\\[使用者名稱]\\AppData\\Roaming\\Adobe\\Adobe Illustrator [版本]\\zh_TW\\指令檔\n```\n\n### macOS 系統\n將 `TextAlignBoxMix.jsx` 檔案複製到以下路徑：\n```\n/Applications/Adobe Illustrator [版本]/Presets.localized/zh_TW/指令檔\n```\n或\n```\n~/Library/Application Support/Adobe/Adobe Illustrator [版本]/zh_TW/指令檔\n```\n\n## 使用方法\n\n### 步驟說明\n\n1. **開啟 Adobe Illustrator** 並建立或開啟包含文字的文件\n\n2. **選取文字物件**\n   - 選取至少 2 個文字框物件\n   - 確保選取的都是文字框 (TextFrame)\n\n![選取腳本](./images/1.png)\n\n3. **執行腳本**\n   - 點選選單：`檔案` → `指令檔` → `其他指令檔...`\n   - 選擇 `TextAlignBoxMix.jsx` 檔案\n\n4. **選擇對齊方式**\n   - **縮放文字 (Scale)**：等比例縮放文字大小來對齊寬度\n   - **調整字距 (Tracking)**：調整文字間距來對齊寬度（僅適用於點狀文字）\n\n![對齊結果](./images/3.png)\n\n### 兩種對齊方式比較\n\n| 方式 | 適用對象 | 效果 | 優點 | 注意事項 |\n|------|----------|------|------|----------|\n| **縮放文字** | 所有文字類型 | 改變文字大小 | 適用性廣泛 | 文字大小會改變 |\n| **調整字距** | 點狀文字 | 改變字元間距 | 保持原始字型大小 | 僅適用於點狀文字 |\n\n## 功能詳細說明\n\n### 自動偵測功能\n- **最大寬度偵測**：自動找出選取文字中最寬的區塊作為對齊基準\n- **行距計算**：根據現有文字的垂直間距自動計算適當行距\n- **位置排序**：按照文字的垂直位置自動排序\n\n### 結果輸出\n- 對齊後的文字會建立為新的群組\n- 原始文字保持不變\n- 新群組會放置在原始文字右側，方便比較\n\n## 系統需求\n\n- Adobe Illustrator CS6 或更新版本\n- 支援 Windows 和 macOS 系統\n\n### 常見問題\n\n**Q: 出現「請只選取文字框物件」錯誤**\nA: 確保選取的物件都是文字框，而非圖形或其他類型的物件\n\n**Q: 「調整字距」功能無法使用**\nA: 此功能僅適用於點狀文字 (Point Text)，請確認選取的文字類型\n\n**Q: 腳本無法執行**\nA: 檢查檔案是否正確放置在指令檔資料夾中，並確認 Illustrator 版本相容性\n\n## 作者資訊\n\n**作者**：konata  \n**版本**：v1.0  \n**目標軟體**：Adobe Illustrator\n\n## 授權條款\n\n此腳本為開源專案，歡迎自由使用和修改。\n\n## 更新日誌\n\n- 合併版本：整合縮放和字距調整功能，提供使用者選擇介面\n- 改善錯誤處理機制，提升穩定性\n- 優化使用者介面體驗\n\n---\n\n如有任何問題或建議，歡迎提出 Issue 或 Pull Request！","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonata91008%2Fsmarttextalign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonata91008%2Fsmarttextalign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonata91008%2Fsmarttextalign/lists"}