README.md aktualisiert

This commit is contained in:
Tim Müller 2024-08-30 08:57:53 +00:00
parent 680809ed59
commit 0d6c2dec85

View File

@ -18,16 +18,13 @@ This repository provides scripts for processing Word templates (.dotx) by search
1. **Setup the Environment:**
Run the `setup_environment.py` script to ensure `pip` and required packages are installed:
```bash
py setup_environment.py `
```bash py setup_environment.py`
2. **Run the Processor Script:**
Execute the `dotx_processor.py` script to process Word templates:
```bash py dotx_processor.py`
```bash
py dotx_processor.py
```
3. **Follow the Prompts:**
The script will prompt you for the following inputs:
@ -40,14 +37,12 @@ The script will prompt you for the following inputs:
## Example Usage
1. Run the setup script to ensure the environment is prepared:
py setup_environment.py
```bash py setup_environment.py`
This command will install `pip` if it is not already installed and then use it to install the necessary Python packages (`pywin32`).
2. Run the processing script to start modifying your `.dotx` files:
py dotx_processor.py
```bash py dotx_processor.py`
After running this command, follow the on-screen prompts to specify the directories and text replacement details.