Execmenuitem; Getnthpluginname - Adobe ACROBAT FORMS JAVASCRIPT OBJECT Specification

Adobe acrobat version 4.0
Table of Contents

Advertisement

This method causes the system to play a sound. The various sounds and the values used are as
follows:
On Apple Macintosh and UNIX systems the beep type is ignored.

execMenuItem

Parameters: cMenuItem
Returns: nothing
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
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
This method returns the name of the Nth plug-in that has been loaded by the viewer. See also
numPlugIns
the
property.
Acrobat Forms - JavaScript Object Specification
Message Type
Error (default)
Warning
Question
Status
Default
under § Lists: Menu item names. The menu
Value
0
1
2
3
4
4.0
4.0
14

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat forms javascript object specification

Table of Contents