WoW:Macro: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page Macro to Macro without leaving a redirect)
 
(12 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Macronav}}
{{Macronav}}
A macro in [[w:c:wowwiki:World of Warcraft|WoW]] is a text script containing one or more [[slash commands]], that executes when you click a button.


In the ''[[World of Warcraft]]'', a '''macro''' is a method of combining several actions to execute in a single button press or keystroke. At any time, you can have 36 macros that are available to all your characters on all servers within one [[account]], and 18 other macros that are available to each specific character, for a total of 54 macros that each character has access to. You can also have an unlimited number of Lua based (AddOn or /script created) macros that are unsaved (client or server-side) and dependent on said Lua script(s) by utilizing a [[Secure_frames_overview#macro|secure frame's]] :SetAttribute() method.
Macro commands can typed or pasted in the chat window, but more typically saved in the Macro UI interface by typing /macro. The macro saved in the Macro UI is attached to a macro button, that then can be placed on an action bar. Macros can contain any slash command including ones that run [[Lua]] code.


A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed ''outside of the standard game client'' may be considered [[cheating]]. Don't be afraid though: Everything you can do with in-game macros is ok.
/say Look out!!!
/use Green Mechanostrider


== Details ==
At any time, you can have 100 macros that are available to all your characters on all servers within one account, and 18 other macros that are available to each specific character, for a total of 118 macros that each character has access to; since WoW Draenor, version 6.0, those "native" macros may be stored server-side. Additionally, addons may enable you to specify and use additional macros.


'''To edit your account-wide macros outside the game''', find your <code>World of Warcraft\WTF\Account\''<account name>''\macros-cache.txt</code> file, and edit it using Notepad or another trusted text editor. (Wordpad does not work even if you save it as a text file.) To edit your character-specific macros, find your <code>...\Account\''<account name>''\''<server name>''\''<char name>''\macros-cache.txt</code> file, and edit it in the same manner. As you do this, note that the macros should probably be numbered starting with 1 and continue to 18 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros.
A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed ''outside of the standard game client'' may be considered cheating. Don't be afraid though: Everything you can do with in-game macros is ok.


== Macros in ''World of Warcraft'' 1.0 ==
In the navigation box at the top right of this page, you will find links to macros deemed useful by the community for specific classes, as well as more general information concerning macro creation. The [[UI beginners guide]] may be a good place to start if you require a general introduction to the area; more macro-specific information can be found at [[Macro API]].
{{main|Macro (1.0)}}


== Macros in ''World of Warcraft'' 2.0 ==
== Editing macros outside of WoW ==
The 2.0 release of the ''World of Warcraft'' game engine revamped how macros were made and how they were used.[http://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1]
{{Accuracy-section|Needs to be verified.}}
Macros are now held on the servers so this method may no longer have the desired effect.


For a comprehensive guide to the new macros, see [[HOWTO: Make a Macro|2.0 Macro guide]].
You can edit macros outside of the game by editing the 'World of Warcraft\WTF\Account\*account name*\macros-cache.txt' and '...\Account\*account name*\*server name*\*char name*\macros-cache.txt' files, containing account-wide and per-character macros respectively.


== Macros in ''World of Warcraft'' 3.0 ==
Note that the macros should probably be numbered starting with 1 and continue to 36 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros.  When editing your macros outside the game, be sure to use a simple text editor that can save in the {{wplink|unicode}} file format, otherwise you may run into formatting/character issues.
The 3.0 release of the ''World of Warcraft'' game engine introduced server-side saving of Macros.[http://forums.worldofwarcraft.com/thread.html?topicId=11162847363&sid=1]


== Archived ==
* [[Useful macros (1.0)]]: a collection of various macros that were usable in vanilla WoW.


----
== External links ==
Welcome to the macros section.  Here you will find sample macros others have developed to meet a particular need.  If you are unclear what a [[UI_Beginners_Guide#Slash_Commands|slash command]], [[UI_Beginners_Guide#Macros|macro]] or [[UI_Beginners_Guide#Scripts|script]] is, you are encouraged to visit the [[UI Beginners Guide]].  Although slash commands, macros, and scripts are technically different, the term ''macro'' is often used loosely. 
;AddOns
 
{{elink|type=wowinsider|link=http://wow.joystiq.com/2012/02/23/addon-spotlight-advancediconselector-adds-cool-features-to-macr/|desc=Addon Spotlight: AdvancedIconSelector adds cool features to macro creation|bydate=by wowinsider Mathew McCurley Feb 23rd 2012 at 12:00PM}}
If you need detailed instructions for creating your first macro, please visit [[HOWTO: Make a Macro]].  If you have questions regarding the limitations and capabilities of macros, please visit [[UI FAQ/Macros and Scripts]]. For a full list of macro commands, see the [[Macro API]]. If you have questions concerning the logic of a particular macro, you may find your answers under the [[World of Warcraft API]].
;Editing programs
 
{{elink|site=TruMacro|link=http://www.trumacro.com}}
This section is broken down by macro use or application.  General purpose macros used by all classes can be found under [[Useful macros]].  Macros that are class specific can be found under the respective class page.
{|
| {{ClassIcon|Druid|Small}} [[Useful macros/Druid|Druid]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Paladin|Small}} [[Useful macros/Paladin|Paladin]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Shaman|Small}} [[Useful macros/Shaman|Shaman]]  || &nbsp;&nbsp;&nbsp; || {{ClassIcon|DeathKnight|Small}} [[Useful macros/Death knight|Death Knight]]
|-  
| {{ClassIcon|Hunter|Small}} [[Useful macros/Hunter|Hunter]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Priest|Small}} [[Useful macros/Priest|Priest]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Warlock|Small}} [[Useful macros/Warlock|Warlock]]
|-
| {{ClassIcon|Mage|Small}} [[Useful macros/Mage|Mage]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Rogue|Small}} [[Useful macros/Rogue|Rogue]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Warrior|Small}} [[Useful macros/Warrior|Warrior]]
|}
 
You will notice a navigation box on many of the macro pages including this one.  This box can help you quickly move between various collections of macros.
 
One final note:  Macro functionality may change as Blizzard continues to evolve World of Warcraft.  Over time, some macros may cease to function.  Keep this in mind when working with a macro written by someone else.
 
Have fun and good luck!
 
[[Category:Newbies]]
[[Category:Newbies]]
[[Category:Macros]]
[[Category:Macros]]
[[Category:UI]]
[[Category:UI]]
[[Category:Game terms]]
[[Category:Game terms]]

Latest revision as of 04:48, 15 August 2023

Macros
General guides

A macro in WoW is a text script containing one or more slash commands, that executes when you click a button.

Macro commands can typed or pasted in the chat window, but more typically saved in the Macro UI interface by typing /macro. The macro saved in the Macro UI is attached to a macro button, that then can be placed on an action bar. Macros can contain any slash command including ones that run Lua code.

/say Look out!!!
/use Green Mechanostrider

Details[edit]

At any time, you can have 100 macros that are available to all your characters on all servers within one account, and 18 other macros that are available to each specific character, for a total of 118 macros that each character has access to; since WoW Draenor, version 6.0, those "native" macros may be stored server-side. Additionally, addons may enable you to specify and use additional macros.

A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed outside of the standard game client may be considered cheating. Don't be afraid though: Everything you can do with in-game macros is ok.

In the navigation box at the top right of this page, you will find links to macros deemed useful by the community for specific classes, as well as more general information concerning macro creation. The UI beginners guide may be a good place to start if you require a general introduction to the area; more macro-specific information can be found at Macro API.

Editing macros outside of WoW[edit]

Questionmark-medium.png This section may be inaccurate. Reason: Needs to be verified.

Macros are now held on the servers so this method may no longer have the desired effect.

You can edit macros outside of the game by editing the 'World of Warcraft\WTF\Account\*account name*\macros-cache.txt' and '...\Account\*account name*\*server name*\*char name*\macros-cache.txt' files, containing account-wide and per-character macros respectively.

Note that the macros should probably be numbered starting with 1 and continue to 36 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros. When editing your macros outside the game, be sure to use a simple text editor that can save in the unicode file format, otherwise you may run into formatting/character issues.

Archived[edit]

External links[edit]

AddOns
Editing programs