Returns the text label associated with an action. Currently used only for macros, which in the default UI show their name as a label on an action button.


See also Action functions.

Signature:

text = GetActionText(slot)

Arguments:

  • slot - An action bar slot (number, actionID)

Returns:

  • text - Label for the action (string)