You can store up to 12 different targets in the focus frame.
To put your current target as a focus use
|
Source code
|
1
|
/focus
|
so that would pretty much cover macro 1
For macro 2, you could do something like:
|
Source code
|
1
2
3
|
/run TargetUnit("focus1")
/cast Healing Shot
/run TargetUnit("targettarget")
|
The first line sets your target to that of what is in the first focus slot, the third line sets your target to whatever your current target is targeting.