There's a command along the lines of /targetgroupbuff ON or something along those lines. You only have to type it once, and you can cast 'group only' spells on everyone you can target forever. Very useful in raids, and it bugs me I can't remember the exact command, but it's been a while ;-)