Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetMacroBody
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns the body (macro text) of a macro. <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> body = GetMacroBody(macroIndex or "name") == Arguments == <!-- List each argument, together with its type --> :;macroID : number or String - Macro index or name. == Returns == <!-- List each return value, together with its type --> :;body : String - The macro body or nothing if the macro doesn't exsist. == Example == <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> local body = GetMacroBody("Flash") DEFAULT_CHAT_FRAME:AddMessage(body) <big>'''Result'''</big> <!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. --> #showtooltip /cast [target=mouseover, help, exists] [help, exists] [target=player] Flash Heal
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)