ouch: the beginning of the end
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Mar 6 19:11:01 EST 2017
I can tell you that FDF files work on virtually every PDF viewer/editor for any platform. But the PDF has to be set up to "read" the FDF file when it opens, otherwise you need to create a button that asks for the file (using javascript) and then populates from whatever file the user selects.
Originally, this was the ONLY way my app worked, before I started using Applescript and Javascript to fill under OS X. Also it should be noted that an FDF created on another platform is considered "untrusted" by Windows, and you have to give the OS permission to proceed, otherwise the auto-fill feature will not work.
Bob S
> On Mar 5, 2017, at 12:33 , Alejandro Tejada via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Using the free command line utility PDFTK,
> I could fill a pdf with interactive fields using
> just a text file formatted as a fdf document
> (that you could generate with LiveCode).
> Tested and works in Windows and Ubuntu Linux.
> Could you test if this works on MacOSX?
>
> pdftk.exe C:\PDFwithForms.pdf fill_form C:\data.fdf output FilledPDF.pdf
> flatten
>
> There are many samples of PDF and matching FDF files inside
> these compressed folders from Adobe:
> http://www.adobe.com/devnet/acrobat/fdftoolkit.html
>
> Al
More information about the use-livecode
mailing list