I played around with the healing frame posted in another thread, but that only works for players, not companions.

Since I two box, there is always my two chars and two companions.

I am trying to set up 4 keys that will heal: me, my partner, my companion, or my partner's companion

I'm having trouble with targeting. For my "heal myself" key, I hit F1, than my heal hotkey. This works, however, if I happen to already have myself targeted, then F1 toggles to my companion instead of me so my heal goes to the wrong target. So, I tried sending "Esc" to clear my target, then F1, but if I put them in the same Step, only the ESC key fires. The F1 doesn't. If I put them in separate Steps I have to spam the heal key to make it go off.

I tried just sending ESC to clear my target, meaning any heal I cast goes on myself by default. The problem with that though, is if something attacks me while my target is cleared, I target it and my heal goes to the wrong target again.

Is there a foolproof way to always target myself and not toggle targeting myself/my companion?