These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Create new folder on save

acrobatpg
Registered: Sep 18 2007
Posts: 2

Hi,
 
I am using Acrobat 8 Pro and was wondering if it is possible to use javascript to create a new folder on save?
 
I would like to be able to save documents in different folders based on some user input and the date. Ideally the user would click save and in the background the document would save to the correct location without user input.
 
If this is not possible using Javascript can a Windows API be called or something like that?
 
Cheers,
 
Peter

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
No this is not possible because of Acrobat Security. JavaScript is not allowed any overt access to the user's file system.

However, if you can create AppleScript(MAC) or Visual Basic (PC) programs, then you can use the Acrobat IAC interface to control Acrobat from an external program.

Get the IAC documentation from this link

[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Click on the "Documentation" tab

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script