MAGE-SPECIFIC MACROS
World of warcraft macros specific to the mage class (but some may be modified to be used with the warlock class). Check WoW Macros You Can't Live Without to find macros for other classes or simply for general use.
(Mage) Ultimate Arcane Explosion
This one is very useful for pvp as it will cast Arcane Explosion (Rank 1) when not in combat and the highest rank when in combat, saving you mana when you're only looking for hidden rogues/druids/Night Elves.
#Showtooltip Arcane Explosion
/cast [nocombat] Arcane Explosion(Rank 1); Arcane Explosion
/stopcasting
(Mage) One-Button Conjure Water/Food
I love keeping my action bar clean. This one will save you 1 icon space. Normal left click conjures water, right click conjures food.
/cast [button:1] Conjure Water
/cast [button:2] Conjure Food
(Mage) One-Click Eat+Drink
You know you can eat and drink at the same time... right? Keeping in line with a clean action bar this icon will make you drink water and eat food, all in one simple click (make sure you have some in your inventory first). Replace Conjured Purified Water and Conjured Rye with the drink and food of your choice.
# show Conjured Purified Water
/use Conjured Purified Water
/use Conjured Rye
(Mage) Buff-up Sequence
This macro has multiple uses. Pressing it once will put on your shield, a second time will activate Arcane Intellect so you can store the most mana possible and a third time will activate Frost Armor. After 6 seconds this macro will default to Mana Shield so you can protect yourself if needed. Want to buff someone with Arcana Intellect? Simple: just select them and right-click the icon. Use the ? icon and will show the Mana Shield
#show Mana Shield
/cast [button:2] Arcane Intellect
/castsequence [button:1, target=player] reset=6 Mana Shield, Arcane Intellect, Frost Armor