[Semi-OT] Execute Javascript for Acrobat

Andrew Kluthe andrew at ctech.me
Fri Mar 13 17:06:58 EDT 2015


Except, what Apple does with applescript (and now JS) is at the OS level.
VBscript is available to do certain things on windows. Maybe MS will
replace VBScript with something more like Javascript in the future. Who
knows, not something we can really have control over though.

On Fri, Mar 13, 2015 at 3:35 PM, Bob Sneidar <bobsneidar at iotecdigital.com>
wrote:

> As it turns out, there is no way in Windows to send commands to Adobe
> Acrobat, telling it to run a Javascript. And while there are tools for
> development systems like Java and C++ to do so, there is no shell method to
> do so. So apparently I will be stuck creating FDF files for the Windows
> environment. It would have been nice if Livecode had a way to directly
> communicate Javascript to other applications using the methods available,
> as it can with Applescript, but now that the widget architecture is on the
> way, perhaps someone will develop one.
>
> Bob S
>
>
> > On Mar 4, 2015, at 08:56 , Bob Sneidar <bobsneidar at iotecdigital.com>
> wrote:
> >
> > Hi all.
> >
> > I know there are people on the list who know if this can even be done,
> and if so, how to do it. Presently to have a PDF fillable form open and
> auto-fill with data, I must first set the PDF form up to import an FDF file
> upon opening, and secondly I must create an FDF file for it to import,
> populated with the values I want.
> >
> > All this I have working, but I have developed a method for doing this
> directly from within my LC app without resorting to FDF files, but *only*
> for the Mac. I want to also develop a method for use in Windows. But since
> Windows has no built in equivalent to Inter-Application Communications (IAC
> otherwise known as Applescript) I am wondering if there is a way to do this
> via a shell command. I can execute Javascript alright by using wscript.exe,
> but how to get the message to Acrobat or Reader?
> >
> > 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
>



-- 
Regards,

Andrew Kluthe
andrew at ctech.me



More information about the use-livecode mailing list