Answered
I have created a custom submit button to e-mail my PDFS to specific locations. I'm using the this.mailDoc function. It works great, however when it attaches the file it uses the filename plus it adds - Adobe Acrobat Professional.pdf to the end.
Example:
scr12345.pdf would e-mail as scr12345.pdf - Adobe Acrobat Professional.pdf
How can I remove the - Adobe Acrobat Professional.pdf from the end of attachment so when my e-mail appears it would be attached as scr12345.pdf?
Any help would be greatly appreciated.
Sarah Copley
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]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script