search_and_replace
Find and replace text across entire PowerPoint decks, including SmartArt and notes, while preserving original formatting. Supports regex for advanced matching and safe live editing with backups.
Instructions
Deck-wide find and replace, safe across fragmented runs (each replacement keeps the first run's formatting), SmartArt node text included. 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. live='auto' edits the open PowerPoint copy of a locked file; 'force' targets the open session; 'off' refuses locked files. Batches: apply_edits.
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 | |||