WoW:API RunMacro: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Putting in Shadowed's "how to run macros today")
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
{{removedapi|(unknown, very early)|Use [[API RunScript|RunScript]] instead.}}
{{removedapi|(unknown, very early)|Use [[API RunScript|RunScript]] instead.}}
Running macros can be accomplished with two function calls:
local _, _, script, _ = GetMacroInfo( macroID );
RunScript( script );

Revision as of 07:36, 17 July 2006

WoW API < RunMacro


Running macros can be accomplished with two function calls:

local _, _, script, _ = GetMacroInfo( macroID );
RunScript( script );