The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

>>  When I want to add a javascript to a bunch of pdfs, I 
>>  create an fdf that 
>>  includes the javascript I want. 

Ohmygosh....am I confused ... 'k, this is want I want to do ...

In acrobat, you can set a document action. For example, before a file
closes, I want it to set a variable to store the file name. So I would
set the document action ... Advanced > Javascripts > Set Document
Actions > Document Will Close ... 

global.LastFile = this.documentFileName;

Then, there is a button field that only displays if global.FastFile !=
undefined. When it is visible, the button will open the last document
that was open.

Why am I doing this??? I want to have a back button that will return to
the last file open, not the last view. I could use app.goBack, but that
only takes me to the last view. I want the user to be able to navigate
back through documents.

Now I have 61 files, and I don't want to do this for all 61 files
manually. I would like to run a batch, but I can't figure out how to do
that. 

If someone has a solution to my problem, I would greatly appreciate
it!!!

- sara
   

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to