I created a customized "submit form" button (see script below)
var cResponse = app.alert ("Do you wish to email this order to our Customer Service Department?\n\nChoose YES to proceed or choose NO cancel.",2,2);
if (cResponse ==4) {
var nResponse = app.alert("Don't forget to save a copy of this document for your records.",3,0);
if (nResponse ==1); {
this.mailForm({
bUI: false,
cTo: "tsierra [at] sterlingpublishing [dot] com",
cSubject: "SP10 New Titles Order Submission",
});
}}
The button works perfectly when I use Adobe Acrobat on my Mac, but doesn't work on a PC.
The email application browser pops up on the Mac (which is what I want) but doesn't on the PC.
IS there any reason this is happening? I need this document to be cross platform.
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