search_and_replace
Find and replace text across an entire PowerPoint deck while preserving run formatting. Supports regex capture groups, skips slide-number/date fields, and saves atomically with backups.
Instructions
Deck-wide find and replace, safe across fragmented runs (each replacement keeps the first run's formatting). regex=True enables capture groups (refused live); matches overlapping slide-number/date fields are skipped. Bulk cell rewrites: set_table_cells (tables-charts pack). Saves atomically with two-slot backup; backup=False skips rotation. live='auto' edits the open PowerPoint copy when the file is locked by it (edits stay UNSAVED until live_save); 'force' targets the open session; 'off' refuses locked files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| live | No | auto | |
| regex | No | ||
| scope | No | ||
| backup | No | ||
| replace | Yes | ||
| file_path | Yes | ||
| match_case | No | ||
| include_notes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||