I usually just do macros like this:

#showtooltip <spell I wanna see data on>
/script SetView(2); SetView(2);
/assist focus
/stopmacro [noharm]
/petattack
...rest of my attack sequence...

Works good and you can just change the assist line to use focus, name, partyx or whatever else without having to change the entire rest of the macros.