Re: Call java file from PDF

2016-02-14 Thread Al Grant
PS: I dont have permission to make a app run at boot time either :-( On Mon, Feb 15, 2016 at 10:40 AM, John Lussmyer wrote: > So, install a Java app that starts when the system boots. > It listens on a port, then your PDF can use > http://localhost:789/didlysquat to submit the form to your java

Re: Call java file from PDF

2016-02-14 Thread Al Grant
Hi John, I really like the idea of that solution - its very sexybut as it is it is going to be a steep learning curve for me to do it the more manual way of getting the file via email, saving it and then running the java app on the file to scrape the data to ms access. Perhaps I can tackle th

Re: Call java file from PDF

2016-02-14 Thread John Lussmyer
So, install a Java app that starts when the system boots. It listens on a port, then your PDF can use http://localhost:789/didlysquat to submit the form to your java app. You java app doesn't need to be a full web server, just listen on the appropriate port and catch the data. On Sun Feb 14 13:3

Re: Call java file from PDF

2016-02-14 Thread Al Grant
Yeah all the Java runtimes Ave virtual machines are installed I tested it. On 15/02/2016 10:23 am, "Olaf Drümmer" wrote: > But you have the rights to install a Java program? > > Olaf > > > On 14.02.2016, at 21:40, Al Grant wrote: > > > > I would not have the permission rights to install a we

Re: Call java file from PDF

2016-02-14 Thread Olaf Drümmer
But you have the rights to install a Java program? Olaf > On 14.02.2016, at 21:40, Al Grant wrote: > > I would not have the permission rights to install a web server :( > On 15/02/2016 9:27 am, "John Lussmyer" wrote: > >> On Sun Feb 14 12:15:12 PST 2016 bigal...@gmail.com said: >>> Thank you

Re: Call java file from PDF

2016-02-14 Thread Al Grant
I would not have the permission rights to install a web server :( On 15/02/2016 9:27 am, "John Lussmyer" wrote: > On Sun Feb 14 12:15:12 PST 2016 bigal...@gmail.com said: > >Thank you for both your answers. > > > >The html is very appealing, but what I did not mention is in working > >within a r

Re: Call java file from PDF

2016-02-14 Thread John Lussmyer
On Sun Feb 14 12:15:12 PST 2016 bigal...@gmail.com said: >Thank you for both your answers. > >The html is very appealing, but what I did not mention is in working >within a rather rigid IT environment. > >I won't be able to install a html server. So back to Java executable (which >I can use) unles

Re: Call java file from PDF

2016-02-14 Thread Tilman Hausherr
Am 14.02.2016 um 21:15 schrieb Al Grant: Thank you for both your answers. The html is very appealing, but what I did not mention is in working within a rather rigid IT environment. I won't be able to install a html server. So back to Java executable (which I can use) unless there is a better w

Re: Call java file from PDF

2016-02-14 Thread Al Grant
Thank you for both your answers. The html is very appealing, but what I did not mention is in working within a rather rigid IT environment. I won't be able to install a html server. So back to Java executable (which I can use) unless there is a better way? Cheers Al On 15/02/2016 9:07 am, "Gil

Re: Call java file from PDF

2016-02-14 Thread Gilad Denneboom
As Tilman wrote, you can submit the data to a server and then handle it from there, but you can't execute an executable from within the PDF. That would be a huge security risk, as a Java application can easily delete files on your system or do all kinds of other damages. On Sun, Feb 14, 2016 at 8:

Re: Call java file from PDF

2016-02-14 Thread Tilman Hausherr
You can submit the form to a HTTP server as a POST or GET request. There was a discussion about this in January, see thread "PBox Newbie Seeking Immediate Solution" https://mail-archives.apache.org/mod_mbox/pdfbox-users/201601.mbox/browser In the PDF spec, look for "12.7.5.2 Submit-Form Action

Re: Call java file from PDF

2016-02-14 Thread Al Grant
Hi Gilad, Well - both - using a javascript button on the PDF form to call a java executeable to submit the data on the form to a database. But it doesnt sound like javascript can call executeables? I will probably have to have the form saved to the disk and then have the java executeable given th

Re: Call java file from PDF

2016-02-14 Thread Gilad Denneboom
Java or JavaScript? The two are very different, despite the similar names. You can't execute a Java file from within a PDF (luckily), but you can attach (Acrobat) JavaScript code to a button in a PDF and have it execute when the button is pressed, yes.

Call java file from PDF

2016-02-14 Thread Al Grant
Hi Everybody, I was wondering if it is possible to call/run a java script executeable from for example a button in the pdf which triggers javascript that calls the java file? Cheers -Al -- "Beat it punk!" - Clint Eastwood