ByteScout Data Extraction Suite - VBScript - Extract attachments from pdf with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VBScript – Extract attachments from pdf with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VBScript – Extract attachments from pdf with pdf extractor sdk

How to extract attachments from pdf with pdf extractor sdk in VBScript and ByteScout Data Extraction Suite

This code in VBScript shows how to extract attachments from pdf with pdf extractor sdk with this how to tutorial

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.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ExtractAttachments.vbs
      
' 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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next