The less control you have over your characters, the less effective you will be. Using those macros would leave you overhealing or underhealing more often than not. I would suggest this setup:
Spec 3 elemental, and 1 resto. Play the resto sham directly. Use this macro for healing:
/cast [target=mouseover] lesser healing wave

Make similar macros for your other healing spells. That way you can heal without changing targets, and can easily spam lightning bolt with the other three shams.