Re: [Semi-OT] Execute Javascript for Acrobat

2015-03-24 Thread Bob Sneidar
Thanks Ralph. 

Bob S


 On Mar 13, 2015, at 14:07 , Ralph DiMola rdim...@evergreeninfo.net wrote:
 
 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


___
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


Re: [Semi-OT] Execute Javascript for Acrobat

2015-03-13 Thread Bob Sneidar
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


RE: [Semi-OT] Execute Javascript for Acrobat

2015-03-13 Thread Ralph DiMola
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


Re: [Semi-OT] Execute Javascript for Acrobat

2015-03-13 Thread Andrew Kluthe
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 bobsnei...@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 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




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
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


[Semi-OT] Execute Javascript for Acrobat

2015-03-04 Thread Bob Sneidar
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