Go to: Synopsis. Return value. Related. MEL examples.
getPluginResource(string $pluginName, string $lookUpKey)
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $pluginName | string | Unique Plugin name |
| $lookUpKey | string | Unique key for this string resource |
// Query the value of a menu item's label and use it
// to set the string.
// The plugin name is "myPlugin" and the resource name
// is "showBBoxLabel"
//
string $mLabel = getPluginResource("myPlugin", "showBBoxLabel");
menuItem -l $mLabel;