I think (not 100% on this) people get around the blue hand (like with weapon enchants) by doing
/cast [@none] spell
[@none] actually
forces the spell to bring up the blue hand instead of casting on a unit. There's no built-in slash command for this, but it can easily be done using an invisible secure action button.
If you want an all-macro solution, use this in a macro:
Code:
/run if not InCombatLockdown()then SB=SB or CreateFrame("Button","SB",nil,"SecureActionButtonTemplate")SB:SetAttribute("type","stop")end
/click SB
You need to run this macro at least once out of combat to create the button, then you can safely use it in combat.
If you'd prefer to have the support code in an AddOn, copy/paste the code blocks below into their own empty text documents and save them with the specified name/extension (capitalisation is important). Make sure you don't save them as .txt files. Once you have both files, move them to a new folder called SpellStopTargetingButton in your Interface\AddOns\ folder.
You can use
/click SpellStopTargetingButton in a macro with this AddOn enabled to cancel the blue hand.
SpellStopTargetingButton.toc
Code:
## Interface: 50001
## Title: SpellStopTargeting Button
## Version: 1.0
## Author: Choonster
## Notes: Cancels the "blue hand" cursor when you use "/click SpellStopTargetingButton" in a macro.
core.lua
core.lua
Code:
local b = CreateFrame("Button", "SpellStopTargetingButton", UIParent, "SecureActionButtonTemplate")
b:SetAttribute("type", "stop")