Hi all
I have an internal form that employees need to complete when there is a customer complaint, but what i want the document to do is when they click on a Save Button which i've created an action for with Action builder to open up the Save As box with the specific Network path file and folder so that way no one can save the document in an incorrect place.
When i look at the code, this is what it looks like. So is it possible to specify a file path?
//+ Type: Action
//+ Result1: SaveForm()
//+ Node1: form1[0].#subform[7].Button2[0]
//+ Condition1: Button("$Node1","click")
//+ ActionName: Button2.click
app.execMenuItem("SaveAs");
//-
Hope you can help.
thanks.
The details are explained here:
http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script