<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetMacroSpell</id>
	<title>WoW:API GetMacroSpell - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetMacroSpell"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetMacroSpell&amp;action=history"/>
	<updated>2026-06-02T02:31:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetMacroSpell&amp;diff=19077&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API GetMacroSpell to WoW:API GetMacroSpell without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetMacroSpell&amp;diff=19077&amp;oldid=prev"/>
		<updated>2023-08-15T04:46:06Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_GetMacroSpell&quot; title=&quot;WoW:API GetMacroSpell&quot;&gt;API GetMacroSpell&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_GetMacroSpell&quot; title=&quot;WoW:API GetMacroSpell&quot;&gt;API GetMacroSpell&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:46, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key addonstu_asmw2:diff::1.12:old-19076:rev-19077 --&gt;
&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetMacroSpell&amp;diff=19076&amp;oldid=prev</id>
		<title>WoWWiki&gt;Garr3tth: New page: {{wowapi}}  Returns the spell a given macro is set to cast. This function can be used by action bar addons to display dynamic macro icons and tooltips. As a macro&#039;s cast sequence changes, ...</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetMacroSpell&amp;diff=19076&amp;oldid=prev"/>
		<updated>2009-02-11T17:01:29Z</updated>

		<summary type="html">&lt;p&gt;New page: {{wowapi}}  Returns the spell a given macro is set to cast. This function can be used by action bar addons to display dynamic macro icons and tooltips. As a macro&amp;#039;s cast sequence changes, ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{wowapi}}&lt;br /&gt;
&lt;br /&gt;
Returns the spell a given macro is set to cast. This function can be used by action bar addons to display dynamic macro icons and tooltips. As a macro&amp;#039;s cast sequence changes, this function can be queried to get the next spell that will be cast.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 name, rank = GetMacroSpell(slot)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Arguments: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:;&amp;quot;slot&amp;quot; : number - The macro slot to query&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Returns: ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:;name : The name of the spell the macro is set to cast (string)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:;rank : The rank of the spell, if applicable (string)&lt;br /&gt;
&lt;br /&gt;
== Example: ==&lt;br /&gt;
&lt;br /&gt;
        local index = GetMacroIndexByName(spell);&lt;br /&gt;
        if (index) then &lt;br /&gt;
              local spellname, rank = GetMacroSpell(index);&lt;br /&gt;
              spell = spellname;&lt;br /&gt;
        end&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;Garr3tth</name></author>
	</entry>
</feed>