mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-05 19:51:56 -05:00
8f9f2653db
Selecting PDFs, pictures or a mix in File Explorer (or a Linux file manager) and choosing "Combine files in PdfCraft" opens the Combine files tab with them listed in the order they arrive, one window for the whole selection. Nothing is combined until Combine is pressed; pictures become PDFs as they join (#569). - Single instance: a launch's request is now Open or Combine; the wire carries {"combine":[...]} beside {"open":[...]}, and the running window gets each run of one kind as one event, in arrival order. A PdfCraft from before this refuses a combine request, so that launch opens its own window instead. - `pdfcraft --combine [files...]`: the first launch of a burst lists its own file; the others hand theirs over (Explorer starts one process per selected file). - OsEvent::Combine and PdfCraftApp::combine_paths: each file is read (one that can't be read is said and left out) and the rest join the list as one undo step. - MSI: PdfCraft.Combine on .pdf in PdfcraftPdfContextMenu and on the ten image types in PdfcraftImageContextMenu, so each follows its menu's switch, is kept on update only while present and is removed on uninstall. MultiSelectModel=Document, --combine "%1". test-msi.ps1 checks all eleven. - Linux: [Desktop Action Combine], Exec=pdfcraft --combine %U. Not included: a Finder entry on macOS. Parity: core.open-pdf and organize.combine-files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>