How to do this?

I have 2 sets of Equipment. One with shield and one with two hander. What I want to do is change stance on set change. When I put on my shield I want to go immediately to defensive stance. When I put on my two hander I want to immediately go to Battle stance. Anyone got a macro for this?

it would look like this…i think.

/cast [form:1]Battle Stance ; [form:2]Defensive Stance
/equipset [spec:1] SetName1; [spec:1] SetName 2

or without the modkey

/cast [form:1]Battle Stance , [form:2]Defensive Stance
/equipset [spec:1] SetName1, [spec:1] SetName 2

Thank you! I will give that a shot when servres get back up.