Catch some concepts at the New York Auto Show!

Macro Anatomy: Run phase and beyond!

Welcome, troops, to the final stage of your lock-step macro training. This phase is when you will learn all about modifier keys. I had planned to include conditionals in the Run Phase, but that subject will necessitate its own series of posts, so look for that in the future. From here on out, Macro Anatomy will focus more on macro development and specific macros rather than teaching you the basics. In case you missed out on the basics, go check out my Macro Primer, then you can graduate to the Crawl and Walk phases of macro development.

As I said, we'll be taking a look at modifier key, which can extend the functionality of your macros, as well as helping to cut back on how many buttons you are using on your action bar.

Modifier keys allow you to change the behavior of a macro when pressing one of three keys. The keys available for use as modifier keys are:
  • Shift (shift)
  • Control (ctrl)
  • Alt (alt)
Keep reading to find out how to use these three modifier keys.

These three keys allow you to do different things with the same button. It's important, if you want to assign one function while holding the Shift key and one with no modifier, that you tell the World of Warcraft client what to do in each case. This can be accomplished by using the [nomodifier] keyword. Here is an example I use on all of my Blood Elf characters, which allows me to put both racial abilities I use into one button.

#showtooltip
/cast [nomodifier] Mana Tap; [modifier:shift] Arcane Torrent

This macro will do two things. If I press the button, which I place on an actionbar, it will cast Mana Tap. If I hold down the SHIFT key and press the button, it will cast Arcane Torrent. As a note, the #showtooltip, when combined with the "?" icon will be change the icon and tooltip to the appropriate spell. In this case the Mana Tap icon and tooltip when I hover over the button, and the Arcane Torrent icon and tooltip while holding SHIFT and hovering over the button.

You can replace "modifier:shift" with "modifier:ctrl" or "modifier:alt" to change the key used. You can also stack all of these modifier keys into one macro, giving you four options with one macro. I don't do this myself, as the class bar works just fine for me, but here is an example you could use if you were so inclined.

#showtooltip
/cast [nomodifier] Battle Stance; [modifier: shift] Defensive Stance; [modifier: ctrl] Berserker Stance


Note that each block of instruction, per modifier key, is separated by a semi-colon. That is how you're telling the World of Warcraft client that you're starting a new set of instructions, for different keystrokes in our example.

Hopefully that makes sense to you so that you can start using modifier keys with your macros. I'll go more in depth about the application of these in the future. Next week, I'll introduce you to assigning conditionals to your macros, based on different mouse buttons. Exciting, stuff, my friends! Thanks for tuning in and macro on!

Related Headlines

Reader Comments (Page 1 of 1)

Add your comments

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.

New Users

Current Users


RESOURCES

Class Columns
Pimp My Profile (1)
(Druid) Shifting Perspectives (40)
(Hunter) Big Red Kitty (37)
(Hunter) Scattered Shots (13)
(Mage) Arcane Brilliance (38)
(Paladin) The Light and How to Swing It (47)
(Priest) Spiritual Guidance (22)
(Rogue) Encrypted Text (33)
(Shaman) Totem Talk (43)
(Warlock) Blood Pact (26)
(Warrior) The Care and Feeding of Warriors (47)
Gameplay
(Arena PvP) Blood Sport (22)
(BG PvP) The Art of War(craft) (21)
(Casual) WoW, Casually (21)
(Engineering) Hoof and Horn Research and Development (17)
(Guild Leadership) Officers' Quarters (55)
(Professions) Insider Trader (55)
(Raid Healing) Raid Rx (18)
(Raiding) Raiding 101 (3)
(Raiding) Ready Check (19)
(Roleplaying) All the World's a Stage (36)
Hybrid Theory (13)
AddOns and UI
AddOn Spotlight (80)
Macro Anatomy (12)
Reader UI of the Week (26)
Reader WoWspace of the week (29)
The Creamy GUI Center (11)
Lore and Stories
Around Azeroth (470)
Barrens Chat (1)
Know your Lore (57)
Tales from the Lion's Pride Inn (14)
WoW Moviewatch (467)
Features
15 Minutes of Fame (17)
About the Bloggers (23)
Ask WoW Insider (55)
Back In The Day (3)
Breakfast topics (681)
Build Shop (34)
Gamers on the Street (19)
Guildwatch (75)
He Said She Said (4)
It came from the Blog (25)
Phat Loot Phriday (85)
Two Bosses Enter (61)
Well Fed Buff (22)
World of WarCrafts (19)
WoW Insider Show (50)
WoW Rookie (36)
[1.Local] (5)
Classes
Death Knight (50)
Druid (266)
Hunter (258)
Mage (159)
Paladin (265)
Priest (221)
Rogue (166)
Shaman (242)
Warlock (177)
Warrior (179)
News
Account Security (9)
AddOns (237)
Analysis / Opinion (2698)
Blizzard (1473)
BlizzCon (187)
Bugs (215)
Burning Crusade (365)
Contests (205)
Economy (183)
Events (368)
Expansions (565)
Fan stuff (826)
Features (620)
Forums (251)
Guilds (463)
Hardware (23)
Humor (724)
Interviews (134)
Lore (270)
Mounts (129)
News items (1408)
NPCs (186)
Odds and ends (1603)
Patches (1117)
Podcasting (72)
Ranking (51)
Realm News (282)
Realm Status (227)
RP (158)
Rumors (32)
Virtual selves (611)
WoW Insider Business (278)
WoW Social Conventions (137)
WoW TCG (49)
Wrath of the Lich King (256)
Strategy
Alts (86)
Arena (163)
Battlegrounds (108)
Bosses (304)
Buffs (116)
Cheats (69)
Classes (286)
Enchants (29)
Factions (145)
Guides (325)
How-tos (362)
Instances (625)
Items (794)
Leveling (242)
Making money (161)
PvP (697)
Quests (344)
Raiding (673)
Talents (119)
Tips (541)
Tricks (218)
Walkthroughs (75)
Media
Comics (62)
Fan art (33)
Galleries (131)
Machinima (546)
Podcasts (52)
Polls (55)
Screenshots (611)
Races
Alliance (103)
Draenei (62)
Dwarves (15)
Gnomes (39)
Human (14)
Night Elves (42)
Horde (102)
Blood Elves (69)
Orcs (25)
Tauren (41)
Trolls (22)
Undead (21)
Professions
Alchemy (75)
Blacksmithing (55)
Cooking (66)
Enchanting (70)
Engineering (108)
First Aid (16)
Fishing (57)
Herbalism (44)
Inscription (10)
Jewelcrafting (79)
Leatherworking (59)
Mining (42)
Skinning (28)
Tailoring (64)
Retired
Azeroth Interrupted (24)
World Wide WoW (8)
/silly (14)

RSS NEWSFEEDS

Powered by Blogsmith

    Featured Galleries

    Magisters' Terrace walkthrough
    Patch 2.4 Sunwell Isle
    It came from the Blog: Children's Week Gallery
    Children's Week: Stormwind
    Children's Week: Orgrimmar
    M'uru loot
    Children's Week: Dornaa's quests
    Children's Week: Shattrath City -- Horde
    The Darkmoon Faire

     

    Most Commented On (30 days)

    Recent Comments

    Weblogs, Inc. Network

    Other Weblogs Inc. Network blogs you might be interested in: