تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

tiangong-wps-word-automation

بواسطة fadeloo

Git & GitHub
5.2kالتنزيلات وفق ما يذكره clawskills.sh
7النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Automate common Word/WPS document operations on Windows via COM (read text, replace, insert, headings.

الوصف

ما الذي تفعله هذه المهارة

Controls Word or WPS Writer documents on Windows via COM automation. Supports reading, editing, formatting, merging, splitting, and exporting documents without manual UI interaction.

COM automation operates directly inside the Word/WPS application, so formatting, styles, and native features are preserved without relying on third-party parsers.

متى تستخدمها

  • Export a contract to PDF before sending
  • Replace a client name across an entire report
  • Merge monthly chapter files into one document
  • Split a long document into page-range segments
  • Add a company header and footer to a template

مثال على سير العمل

الإدخال

User asks: export report.docx to PDF

الوكيل
  1. 1

    Locate the target .docx file path

  2. 2

    Run the export command with --format pdf

  3. 3

    Specify the output PDF path

  4. 4

    Confirm the file was written successfully

الإخراج

report.pdf created at the specified output path

المتطلبات

  • Windows OS with Microsoft Word or WPS Writer installed
  • pywin32 Python package (pip install pywin32)

التثبيت

clawhub install fadeloo/tiangong-wps-word-automation

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط