Go to: Synopsis. Return value. MEL examples.
textToShelf (string $label, string $script)
None
Variable Name | Variable Type | Description |
---|---|---|
$label | string | The label to give the new shelf item. |
$script | string | The script to be executed when the shelf item is clicked. |
textToShelf ("Sel", "select -all"); textToShelf ("Time", "toggleUIComponentVisibility \"Time Slider\"");