提供常用办公自动化脚本,包括:
bash
# Excel 汇总
clawhub run ke-office-automation --action excel-merge --input ./data/ --output ./merged.xlsx
# Word 批量处理
clawhub run ke-office-automation --action word-batch --input ./docs/ --action-type replace --old "旧文本" --new "新文本"
# 文件批量重命名
clawhub run ke-office-automation --action rename --input ./files/ --pattern "{date}_{original}"
# PDF 合并
clawhub run ke-office-automation --action pdf-merge --input ./pdfs/ --output ./merged.pdf
# 邮件自动发送
clawhub run ke-office-automation --action email-send --config ./email-config.json --data ./recipients.xlsx
参数说明必填--action操作类型是--input输入文件/文件夹路径是--output输出文件路径条件必填--pattern重命名模式条件必填--config配置文件路径条件必填
操作说明适用场景excel-merge合并多个 Excel 文件多表格汇总excel-split拆分 Excel 文件数据分发word-batchWord 批量处理合同/通知批量修改rename文件批量重命名文件整理pdf-mergePDF 合并报告合并pdf-splitPDF 拆分报告拆分email-send邮件批量发送通知/营销
需要定制自动化脚本?
联系:私信获取报价
提供以下免费脚本模板:
GitHub: 待开源
Q: 需要编程基础吗? A: 不需要,按说明使用即可。
Q: 支持 Mac/Windows 吗? A: 都支持,需要安装 Python 3.8+
Q: 数据安全吗? A: 所有处理在本地完成,数据不会上传。
作者: 科特船长 更多技能: https://clawhub.ai/@xiaoheizp 定制咨询: 私信获取报价