run_script
Runs HWP script macros directly on an open document. Provide doc_id and script source to automate editing, formatting, or conversion tasks.
Instructions
Execute a HWP script macro directly.
Args: doc_id: Document ID from open_document script: Script source code to execute
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| script | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||