This method causes the system to play a sound. The various sounds and the values used are as
follows:
Message Type
Error (default)
Warning
Question
Status
Default
Value
0
1
2
3
4
On Apple Macintosh and UNIX systems the beep type is ignored.
execMenuItem
Parameters: cMenuItem
Returns: nothing
4.0
This method executes the specified menu item. To find out the exact menu item name, see the
Acrobat Viewer Plug-in API On-line Reference
under §
Lists: Menu item names.
The menu
item name is case sensitive and has to exactly match strings in the list.
Example:
/* This example executes File->Open menu item. It will display a dialog to the
user asking for the file to be opened. */
app.execMenuItem("Open");
Note:
For security reasons, we will not allow the script to execute the
SaveAs
and
Close
menu items. If either of those two menu items is passed as cMenuItem,
this function will do nothing.
getNthPlugInName
Parameters: nIndex
Returns: cName
4.0
This method returns the name of the Nth plug-in that has been loaded by the viewer. See also
the
numPlugIns
property.
Acrobat Forms - JavaScript Object Specification
14
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.