Merge All Documents Within Folder | VBScriptByteScout PDF Extractor SDK

Merge All Documents Within Folder | VBScript

MergeDocumentsWithinFolder.vbs:

VB
' Create Bytescout.PDFExtractor.DocumentMerger object
Set merger = CreateObject("Bytescout.PDFExtractor.DocumentMerger")
merger.RegistrationName = "demo"
merger.RegistrationKey = "demo"

merger.MergeFolder "PDFDocs", "result.pdf", True

Set merger = Nothing

WScript.Echo "Merged document saved as 'result.pdf'."