Adobe acrobat forms javascript object specification 用户手册
Acrobat Forms - JavaScript Object Specification
16
If bUI is set to false, the cTo parameter is required and others are optional. You must use a
semicolon “;” to separate multiple recipients in cTo, cCc, cBcc parameters. The length limit for
cSubject and cMsgBody is 64k bytes.
semicolon “;” to separate multiple recipients in cTo, cCc, cBcc parameters. The length limit for
cSubject and cMsgBody is 64k bytes.
Example:
/* This will pop up the compose new message window */
app.mailMsg(true);
/* This will send out the mail to fun1@fun.com and fun2@fun.com */
app.mailMsg(false,
"
fun1@fun.com; fun2@fun.com
"
,
""
,
""
,
"
This is the subject
"
,
"
This is the body of the mail.
"
);
Note:
This is a Windows-only feature. In addition, the client machine must have its
default mail program configured to be MAPI enabled in order to use this
method.
default mail program configured to be MAPI enabled in order to use this
method.
response
Parameters: cQuestion [cTitle], [cOldValue]
Returns: cResponse or null on cancel
Returns: cResponse or null on cancel
This method displays a dialog box containing a question and an entry field for the user to reply
to the question. Optionally, the dialog may have a title or a default value for the answer to the
question. The return value is a string containing the user’s response. If the user presses the
cancel button on the dialog the response is the null object.
to the question. Optionally, the dialog may have a title or a default value for the answer to the
question. The return value is a string containing the user’s response. If the user presses the
cancel button on the dialog the response is the null object.