Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Python script to remove attached CSV file

New Here ,
Jul 10, 2020 Jul 10, 2020

Hi all,

 

Does anyone have a script to remove a csv file that's been attached to a pdf file?

 

I mainly use python but am comfortable with VBA and Powershell too.

 

Any assistance will help tbh.

 

Greatly appreciate some feedback

TOPICS
General troubleshooting , How to
486
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 10, 2020 Jul 10, 2020

Do you have Acrobat Pro? It supports VBA as described in the Acrobat SDK. But I don't know if it can do this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 10, 2020 Jul 10, 2020

I dont unfortunately.

Found this Python library (pypdf2) and ran these method (trailer, getDocumentInfo) but the CSV details dont appear?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 10, 2020 Jul 10, 2020
LATEST

We can only help with the Adobe products here. There is for sure no such API in the free Reader... this is a key reason for buying Pro!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines