The "F" key is the default key that changes to your targets target. If you have already remapped that key I would find an alternative, and just write the following macro;

/cast [help] healing spell; dmg spell

target your tank, if you want to heal him hit the macro, if you want to dps his target Hit "F" (or the remapped key) and then hit the macro.