I would suggest not using a cast sequence, but instead using modifier keys and just directly casting that spell.

Bind the macro to F1 (for instance) and then do:
/cast [nomodifier,target=Main] Renew; [mod:shift,target=Main] PW:S;[mod:ctrl, target=main] Heal

For your other one, bound to F2...
/cast [nomodifier,target=player] Renew; [mod:shift,target=player] PW:S;[mod:ctrl, target=player] Heal

My advice is to avoid the Alt modifier if you are using the F1-F5 keys ... as Alt-F4 won't give a very good result... :shock: