You can put in names in targets. So:
/cast [target=Charname-target] DPSSpell
should work. You can use party1, raid1, pet, focus, target along with names. I don't use names, since the macro only works with one group. I also use the dash in the target so it looks easier to understand insteadofonebigword.