diff --git a/README.md b/README.md index c418de4..572a6b2 100644 --- a/README.md +++ b/README.md @@ -18,11 +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` 2. **Run the Processor Script:** Execute the `dotx_processor.py` script to process Word templates: + ```bash py dotx_processor.py` 3. **Follow the Prompts:** @@ -37,11 +39,13 @@ The script will prompt you for the following inputs: ## Example Usage 1. Run the setup script to ensure the environment is prepared: + ```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: + ```bash py dotx_processor.py` After running this command, follow the on-screen prompts to specify the directories and text replacement details.