Had some guildies wanting this from me, and I know its available elsewhere, but though I would post it on here as it is such an outstanding macro for mages and locks.
/clearfocus [button:2]
/stopcasting
/cast [target=focus,exists,nodead] Polymorph(Rank 4)
/stopmacro [target=focus,exists,nodead]
/clearfocus [target=focus,exists,nodead]
/focus [harm,exists,nodead]
Change polymorph spell to fear/banish whatever
/cast [target=focus, modifier:alt] Banish;fear
/clearfocus [button:2]
/stopcasting
/cast [target=focus, modifier:alt] Banish;fear
/stopmacro [target=focus,exists,nodead]
/clearfocus [target=focus,exists,nodead]
/focus [harm,exists,nodead]
Left click to set focus target, left click again to cc focus(hits the set focus no matter what you are targeting) if you use alt modifier you can set for 2 ccs, example. left click to fear, alt+left click to banish, right click changes focus to current target and clears your focus if you have no target. The stopcast line interrupts whatever you are currently casting to cast the cc spell.
Hope this is helpful to all cc people, just change your /cast line to cast your spell. I also use quartz which when set up shows me the timer on my polymorph and timer disappears if breaks early, and my xperl shows a frame for my focus target which also shows me when it breaks along with anyone else debuffs on it if they have made it unccable with dots etc.