PDF Widget and JavaScript
Bob Sneidar
bobsneidar at iotecdigital.com
Fri Dec 29 11:38:56 EST 2023
Thanks Ralph I figured as much. It’s actually not difficult to recreate from scratch if the structure, header and footer is known. The trouble is the fields. If I had a list of form controls for a given form, I could create one from scratch easily enough.
The fillable forms have to be saved with an open file action to autofill, and if someone can do that, I suppose they already have the ability to export the fdf file using the javascript console in Acrobat Pro.
Bob S
> On Dec 29, 2023, at 7:04 AM, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> The last I knew the JavaScript engine is not implemented in the PDF widget.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode
> Sent: Thursday, December 28, 2023 3:00 PM
> To: How to use LiveCode
> Cc: Bob Sneidar
> Subject: PDF Widget and Javascript
>
> Hi all.
>
> This is a long shot, but is there any kind of PDF gadget in Livecode that can run javascript? I am specifically wanting to generate an FDF file from fillable forms. The javascript is fairly straightforward:
>
> This.ExportAsFDF(true, false, null)
>
> This will work in a javascript enabled PDF application and will use the currently open PDF fillable document, generating an FDF file named after the PDF name (without the dot3 extension) appended by “_data.fdf”
>
> It would be quite the luxury to be able to do this in Livecode, otherwise I have to pay for a licensed Pro version (I think they are all subscription based now) and the ONLY thing I need from the Pro version is this function.
>
> Bob S
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list