Skip navigation
Five_Fingers
Currently Being Moderated

VBS Import txt File

Jun 24, 2012 2:47 AM

Tags: #vbs #import_text_file

I'm try to work out a VBscript solution to import an entire text file (I can do it manually) into a pdf form. I'm having trouble finding any documentation on an appropriate AVDoc object.

 
Replies
  • Currently Being Moderated
    Jun 24, 2012 5:12 AM   in reply to Five_Fingers

    Not sure why you can't just read the text file and set the form field from the text in it?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 24, 2012 10:38 AM   in reply to Five_Fingers

    Is this an Acroform (made in Acrobat) or an XFA (XML) form (made in Designer)?

    Do you have the Acrobat SDK?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 24, 2012 4:44 PM   in reply to Five_Fingers

    The Acrobat SDK is what you need. It is mostly documentation, and does include the Acrobat OLE interfaces.

     

    Now, I'm sure there is no direct OLE method for this. The OLE methods haven't been touched in years.

     

    BUT, Acrobat JavaScript might be able to do this - don't know. If it can, you can use JavaScript from OLE.

     

    Don't assume that just because there is a function to do something in Acrobat that there is a corresponding method to automate it though.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points