How pk-628996/random-tools-gui works
This is a small Tkinter desktop utility for PDF merging and adding chapter bookmarks. Users choose a feature from the main window, then select PDFs and provide ordering, page ranges, or chapter details. The merger maintains a selectable PDF list with page counts and ranges; the bookmark workflows collect chapter titles and page numbers and produce a bookmarked PDF. The repository also contains a separate chapter-bookmark GUI script. The excerpts establish the GUI structure and bookmark-file creation, but omit the merge and integrated bookmark command bodies, so those tool interactions are shown as unverified.
Main entry points: PdftkGui.py Main window · add_chap.py Chapter GUI
Components 9
Desktop GUI
- Main window
PdftkGui.py
PDF workflows
- PDF merger
PdftkGui.py - Bookmark manager
PdftkGui.py - Chapter GUI
add_chap.py
PDF artifacts
- Pdftk command
- Merged PDF
- Bookmark data
- Bookmarked PDF
Other components
- User
Connections 12
- User → Main window: uses
README.md - Main window → PDF merger: opens
PdftkGui.py - Main window → Bookmark manager: opens
PdftkGui.py - User → Chapter GUI: uses
add_chap.py - PDF merger → Pdftk command: runs merge
- Pdftk command → Merged PDF: creates
- Bookmark manager → Bookmark data: writes
PdftkGui.py - Bookmark manager → Pdftk command: updates PDF
- Pdftk command → Bookmarked PDF: creates
- Chapter GUI → Bookmark data: writes
add_chap.py - Chapter GUI → Pdftk command: runs update
add_chap.py - Pdftk command → Bookmarked PDF: creates