Macro Reference — PopupMenu Object — GetText Method (PopupMenu Object)

# GetText Method (PopupMenu Object)

Retrieves the text string of the menu item specified by the identifier.

##

### [JavaScript]

    strText = popupmenu.GetText( id );

### [VBScript]

    strText = popupmenu.GetText( id )

## Parameters

id

The integer identifier of the menu item specified by the Add Method.

## Version

Supported on EmEditor Professional Version 5.00 or later.