Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Any good books on JavaScript in PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Any good books on JavaScript in PDF

 Post Reply Post Reply
Author
jwebsmall View Drop Down
New Member
New Member


Joined: 28 Jun 2013
Location: United States
Points: 3
Post Options Post Options   Quote jwebsmall Quote  Post ReplyReply Direct Link To This Post Topic: Any good books on JavaScript in PDF
    Posted: 28 Jun 2013 at 12:12am
Can anyone recommend a good beginners book on embedding JavaScript in PDFs?

I already know JavaScript.

I need to know how to take a PDF document developed by others
at work and embed JavaScript to implement a primitive digital
rights management system.  In other words I want to call the
API of the PDF host document and find out what machine this
is running on or else be able to read the filesystem for a
license key and "fetch a URL" that would report the PDF
had been copied from another machine.

Maybe this is already possible in PDF.  I don't know anything
about PDF.

What book should I start with to come up to speed on PDF?
I don't care about generated PDF content programatically
however.

Thanks!

John
Back to Top
aandi View Drop Down
Senior Member
Senior Member


Joined: 07 Jul 2011
Points: 18358
Post Options Post Options   Quote aandi Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jun 2013 at 9:51am
Many people have tried to implement DRM with JavaScript, but it is a non-starter.

Consider that anyone can turn off JavaScript (indeed, some people are forbidden from turning it on), and your JavaScript is not too difficult to view.

Using URLs to report things would be a breach of privacy, so Acrobat will ask before connecting...

I don't think you can find the current host, due to sandboxing, so I may be wrong.
Back to Top
jwebsmall View Drop Down
New Member
New Member


Joined: 28 Jun 2013
Location: United States
Points: 3
Post Options Post Options   Quote jwebsmall Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jun 2013 at 4:46pm
Thanks!
John
Back to Top
Merlin View Drop Down
Member
Member
Avatar

Joined: 03 Jun 2012
Location: 43.95 N / 4.82
Points: 47
Post Options Post Options   Quote Merlin Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jun 2013 at 1:20pm
Originally posted by jwebsmall jwebsmall wrote:

Can anyone recommend a good beginners book on embedding JavaScript in PDFs?

Hi,

==> http://www.acumentraining.com/QEDGuides/index.html

It's the best.
Back to Top
jwebsmall View Drop Down
New Member
New Member


Joined: 28 Jun 2013
Location: United States
Points: 3
Post Options Post Options   Quote jwebsmall Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jun 2013 at 3:56pm
Thanks Merlin,   I'm reading the sample chapters now!
John
Back to Top
oald View Drop Down
Member
Member


Joined: 16 Sep 2011
Points: 42
Post Options Post Options   Quote oald Quote  Post ReplyReply Direct Link To This Post Posted: 26 Aug 2013 at 7:35am
The Acrobat SDK Help is very helpful:
 
My Product Information:
Acrobat Pro 8.1.6, Windows
Back to Top
gkaiseril View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Location: USA
Points: 4111
Post Options Post Options   Quote gkaiseril Quote  Post ReplyReply Direct Link To This Post Posted: 26 Aug 2013 at 5:10pm
There are not many because Acrobat uses just a subset of the JavaScript and has some specific objects and methods unique to Acrobat.
 
You might also want to look at Oreily Media  for the Definitive JavaScript Guide.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.