From AddOn Studio
Jump to navigation Jump to search

Useful macros
Macro commands

General guides

Beginner's guide
Making a macro
Wiki Formatting
UI Customization

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


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.


External links[edit]

Editing programs