Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

File name in Adobe forms

Former Member
0 Likes
3,166

Hi All,

I have to change the default file name of PDF while saving it to desktop. How can i achive this ??

Thanks,

Ananth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,913

hi,

http://www.adobe.com/devnet/acrobat/pdfs/js_api_reference.pdf

var myDoc=event.target;

var lPath=myDoc.path;

thanks

Hi All,

I have to change the default file name of PDF while saving it to desktop. How can i achive this ??

Thanks,

Ananth

5 REPLIES 5
Read only

viquar_iqbal
Active Contributor
0 Likes
1,913

HI

you can use java script

app.execMenuItem("SaveAs");

please check this [link|;

Read only

Former Member
0 Likes
1,913

Hi,

adobe file defaultly saved as pdf format only.

can you please bit clear on question

Read only

Former Member
0 Likes
1,913

Hi:

just check the file in destination with containing the extension PDF.

or save it again anc give the file name and its extension with proper path which u can remember later.

Regards

Shashi

Read only

Former Member
0 Likes
1,913

Hi Ananth

There are two methods to do it

one is Printer method i.e. When you say "Print" after you configured PDF Device in SPAD, it will automatically ask for file name and location to print.

another one is Function Module GUI_DOWNLOAD i.e If you are using this Function module, you can specify the default file name and location which can be changed at run time.

Regards

Sachin

Read only

Former Member
0 Likes
1,914

hi,

http://www.adobe.com/devnet/acrobat/pdfs/js_api_reference.pdf

var myDoc=event.target;

var lPath=myDoc.path;

thanks