As described in the manual you can create macros that speed up events:

MACROS
Macros are a very advanced type of user option that allows you to create hotkey buttons for your action bar that duplicate text messages, actions, and spellcasting. You could, for instance, bind the phrase "Hello everyone" to a single button using macros so that whenever you wanted to greet your guildmates, you only had to press your macro button instead of retyping the phrase each time.

You can even bind spells and abilities to your macro, and add text to your casting. Some players bind a healing spell, for example, and a phrase such as "I am healing %t [targeted player name]" to a single button.

Macros can save you a lot of time by automating some of your more common and repeated actions in the game.

CREATING A MACRO

To create a macro, open your chat prompt and type /macro.

Once you do that, a macro window pops up. To create a macro, press the New button, type a name for your macro, and then select an icon for your macro and click the Okay button.

Next, in the macro text box, type the command you want to automate. When you are finished, you then drag the icon corresponding to this macro to an available slot on your action bar. The next time you want to execute the macro, you can just click on the macro icon on your action bar or press the appropriate hotkey.

For more detailed instructions on how to create and use macros, read the World of Warcraft strategy site at http://www.worldofwarcraft.com and look for game information. You can also type /macrohelp at the chat prompt for in-game instructions.


Here are some macros that you can cut and paste into WoW, then drag them to your action bars to do things more quickly and accurately in the game:

Increasing Speed of Quest Display/Scroll (3 lines):
***

/script QUEST_DESCRIPTION_GRADIENT_CPS = 600000

/script RegisterForSave("QUEST_DESCRIPTION_GRADIENT_CPS")

/script DEFAULT_CHAT_FRAME:AddMessage("Quest text will scroll faster now");
***

Swapping 2Hand Weapon with 1Hand Weapon and a Shield:

This Macro swaps a 2Hand weapon for a 1Hand and a Shield:

For this to work:

Put your main hand item in left most bag upper left slot, offhand item to the right of it. put your 2h weapon in your inventory. Now this button will swap the two sets back and forth.
This should be all one line!

***

/script PickupInventoryItem(17);if(CursorHasItem()) then PickupContainerItem(4,2);PickupContainerItem(4,1);PickupInventoryItem(16);else PickupContainerItem(4,1);PickupInventoryItem(16);PickupContainerItem(4,2);PickupInventoryItem(17);end

*** &