8 Commits

Author SHA1 Message Date
5f68c89cbf
Update README.md
Add detailed README with Xpdf installation instructions and script usage guide
2025-03-19 11:18:34 -06:00
50606414e8
Finally working script!
Match 'Bill to' anywhere in the text and then capture the next non-empty line to use for renaming. It's not perfect, but it does work on all the files this time.
2025-03-19 11:14:14 -06:00
779a37cfa8
Update RenameInvoice.ps1
Updated the script to perform a full-text regex match
2025-03-19 11:08:55 -06:00
a633cc1f97
Update RenameInvoice.ps1
Trying direct line-match to clearly identifies the exact line that reads "Bill to" to avoid false matches. 
Next non-empty line: Reliably grabs the immediate next line with actual content as the customer's name.
Filename safety: Removes characters Windows doesn't allow in filenames.
Error and file existence handling: Provides informative messages if conflicts or errors occur.
2025-03-19 11:06:15 -06:00
d03498d118
Update RenameInvoice.ps1
Use a more flexible format search approach; use regex to match lines containing "Bill to" (allowing extra whitespace). Grab the very next non-empty line. Enhance text search robustness
2025-03-19 11:02:52 -06:00
9345f0e986
Update RenameInvoice.ps1
Attempt to refine the regex search of `Bill to` so it doesn't use other invoice parts for the name
2025-03-19 11:00:01 -06:00
e085d9dadc
Create RenameInvoice.ps1
First try
2025-03-19 10:59:03 -06:00
2af86c012c
Initial commit 2025-03-19 10:58:18 -06:00