From 6ac8b29305d9dab8dac5d32497d6e7fe0abbc3fe Mon Sep 17 00:00:00 2001 From: dat972 Date: Mon, 6 Jul 2026 17:00:53 -0500 Subject: [PATCH] error handled some minor thigns in the export file --- README.md | 1 + fccs_export.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 8f54a10..3d9e856 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Extracts and organizes documents from FileCabinet CS (Thomson Reuters) using GUI - 32-bit Python (must match FCCS architecture) - `pywinauto` (`pip install pywinauto`) +- `Pillow` (`pip install Pillow`) — required for failure screenshots - FileCabinet CS installed and restored with client backup data ## Project Layout diff --git a/fccs_export.py b/fccs_export.py index f2f2f2e..33a0177 100755 --- a/fccs_export.py +++ b/fccs_export.py @@ -98,6 +98,8 @@ def navigate_to_drawer(main, drawer_id, ctrl, timeouts, log): box = main.child_window(title=ctrl["drawer_box_title"], class_name="Edit") box.wait("visible ready", timeout=timeouts["nav"]) + box.select() + box.set_edit_text("") box.set_edit_text(drawer_id) time.sleep(timeouts["settle"])