The documentation is designed for a specific purpose to help you to apply the features on your side. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK and you can use it to extract attachments from pdf with pdf extractor sdk with VBScript.
These VBScript code samples for VBScript guide developers to speed up coding of the application when using ByteScout Data Extraction Suite. Follow the instructions from scratch to work and copy the VBScript code. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
Trial version of ByteScout Data Extraction Suite is available for free. Source code samples are included to help you with your VBScript app.
' Create Bytescout.PDFExtractor.extractor object Set extractor = CreateObject("Bytescout.PDFExtractor.AttachmentExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document with embedded attachments extractor.LoadDocumentFromFile("..\..\attachments.pdf") ' Iterate through attachments and save them For i = 0 To extractor.Count - 1 ' Save file to current folder with original name extractor.Save i, extractor.GetFileName(i) Next MsgBox "Done: " & CStr(extractor.Count) & " attachments extracted" Set extractor = Nothing