Bob, At RR 14 Mark and I tried to do this through VBS. As I recall we had some success connecting to the JSO but could talk to Acrobat after the connection was established. My hour with him was up and I have not revisited it since. I will look for the VBS we were working on and see if I can get it to work. When I find it I will send it to you and see if you can get any further.
Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, March 13, 2015 4:36 PM To: How to use LiveCode Subject: Re: [Semi-OT] Execute Javascript for Acrobat 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 <bobsnei...@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode