USE CASE:
Updating a PDF document with multiple non-consecutive revision sets requires manual intervention for each replacement, even if AI is used via the MCP to obtain the PDF page number replacement ranges. A good example of this is building codes, which are many hundreds of pages long in each volume and each volume gets multiple multi-page non-consecutive-page-range updates published over the three-ish year lifespan of the building codes.
For each non-consecutive range the manual process requires:
- Manual triggering of Replace Pages (two mouse clicks to trigger Document > Replace Pages or Ctrl+Shift+Y)
- Manual selection of the PDF donor document (two mouse clicks after having navigated to the correct directory)
- Manual entry of two values for the receiving document PDF page range (two mouse clicks and two numeric entries)
- Manual entry of two values for the donor document PDF page range (two mouse clicks and two numeric entries)
- Mouse click to trigger replacement
Roughly 9 mouse clicks and four manual numeric transcriptions/entries per instance, neglecting the number of mouse clicks to get to the directory housing the donor document. There may be a more efficient way to get there via keyboard shortcuts.
For a sense of scale, AI identified via MCP examination of the donor file and recipient file 39 non-consecutive replacement page ranges from a single update to a single volume when I checked this for a given code.
This is a textbook case for taking advantage of automation of the process.
PROPOSED WORKFLOW:
- Open both recipient document and donor document in BB
- Prompt AI to create page replacement mapping between the two documents (e.g. based on printed page numbers on the separate documents)
- User reviews replacement mapping table and confirms or corrects with the AI.
- AI uses MCP to sequentially trigger the Replace Pages tool and complete the data entry steps without manual user steps.
- User reviews resultant replacement document.
ALTERNATIVE APPROACHES
I'm also open to some other automated process to achieve the same thing, but I'm not actually sure what that would look like. I'm not excited about trying to write my own integration to take advantage of direct API calls, assuming I could even figure out how to pull it off. I'm also not quite sure how to take advantage of scripting to achieve the same thing, since there are multiple data entry steps that I'm not sure could be readily scripted.