← 返回
内容创作 中文

Photoshop Automator

Automate Adobe Photoshop on Windows via ExtendScript to run scripts, update text layers, create layers, apply filters, play actions, and export images.
{"answer":"在Windows上通过ExtendScript自动化Adobe Photoshop,以运行脚本、更新文本图层、创建图层、应用滤镜、播放动作及导出图像。"}
abdul-karim-mia
内容创作 clawhub v1.2.4 1 版本 99960.7 Key: 无需
★ 1
Stars
📥 2,526
下载
💾 493
安装
1
版本
#latest

概述

Photoshop Automator Skill (v1.2.4)

This skill provides a high-performance bridge for automating Adobe Photoshop (vCS6 - 2026+) on Windows and macOS using the ExtendScript (JSX) engine via VBScript or AppleScript.

Commands

  • runScript: Executes raw ExtendScript (ES3) code. Use this for complex document manipulation.
  • updateText: Target a specific text layer by name and update its contents instantly.
  • createLayer: Create new art layers with custom opacity and blending modes.
  • applyFilter: Apply a professional Gaussian Blur filter to the active layer.
  • playAction: Play recorded Photoshop actions (.atn) by name and set.
  • export: Save the active document as a high-quality PNG or JPEG.

🛠 AI Protocol

1. Technical Constraints (Strict)

  • ES3 Syntax Only: Photoshop's ExtendScript engine uses ECMAScript 3 (ES3).
  • DO NOT USE: const, let, arrow functions () => {}, template literals ` ${} , or Map/Set`.
  • USE: Only var, standard function declarations, and string concatenation ('a' + b).
  • Assume Active Document: Commands operate on the active document. If none is open, scripts will fail unless they call app.documents.add().

2. Security & Side Effects

  • Filesystem Access: The runScript command allows execution of arbitrary ExtendScript. This engine has direct access to the host filesystem.
  • Side Effects: Scripts can create, modify, or delete files on the local machine via the File and Folder objects.
  • Verification: Always review dynamically generated scripts before execution to prevent unintended document or filesystem modifications.

3. Error Handling

  • GUI Blocks: If Photoshop has a modal dialog open (e.g., Save As window, error popup), COM operations will hang or fail. Direct the user to close any open dialogs.
  • Layer Presence: If updateText fails, ensure the layer name provided matches exactly (case-sensitive) with the layer in the PSD.

Setup

Ensure Adobe Photoshop is installed on the host system. The skill automatically uses the registered COM server.


Developed for the OpenClaw community by Abdul Karim Mia.

版本历史

共 1 个版本

  • v1.2.4 当前
    2026-03-29 02:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 859 📥 199,547
productivity

Gumroad Pro

abdul-karim-mia
全面的Gumroad商户管理,包括产品目录、销售分析、定期订阅管理、许可证密钥管理及财务...
★ 1 📥 1,974
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,161