The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com __________________________________________________________________
From: Paul <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: [PDF] Finding out if pdf is open Date sent: Fri, 20 Jun 2003 15:10:44 +0100 Send reply to: [EMAIL PROTECTED] > > The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com > __________________________________________________________________ > > > > > > Hello All, > > > > > > Does anybody know if it is possible for acrobat to confirm > > that a pdf file > > > has been opened successfully. We are triggering links to > > pdf's from a > > > database with the pdf's opening inside the browser and > > would like to be able > > > to tell the database that the file has opened. I thought > > perhaps some > > > JavaScript in the pdf might do it ? > > > > > How are the database and Acrobat communicating? Is the > > database hosted on the > > same machine that people are viewing the PDFs on or is there > > a network between? > > > > The pdf and acrobat are all on the same machine. At the moment I do not have > any communication between the database and acrobat. Can a pdf make an entry > to the registry with JavaScript ? My database could read the entry. > If you'd be happy with a specific hack rather than a generalized solution, try the following: Add a data object to your PDFs (it doesn't have to be much), add some document level JS to run on opening each file which exports that data object - giving a sort of lock file. From your database look for these lock files, store their names somewhere, and delete them (because you can't delete them from JS). Exactly when or how you clean up the list of open files I wouldn't know. Maybe you could adapt the scheme to write files on opening with names <filename>_OPEN and on closing <filename>_CLOSED, and clear up the *_CLOSED *_OPEN files from your database. > Thanks > > To change your subscription: > http://www.pdfzone.com/discussions/lists-pdf.html > -- Matthew Fitzgerald Byte Ryte bv Oudegracht 219 NL 3511 NH Tel: +31 (0)30 2380023 Fax: +31 (0)30 2380076 http://www.byteryte.nl To change your subscription: http://www.pdfzone.com/discussions/lists-pdf.html
