Those pieces of code will work fine in the right context. Since you didn't show your whole script I don't know what caused your errors. It could be something you left out or something extra you put in.
Here's a complete script that shows how to use your second piece of code.
Code:
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
<Label w3 Local SendWinM WoW3>
<Label w4 Local SendWinM WoW4>
<Label w5 Local SendWinM WoW5>
<Hotkey AllMainKeys; Shift AllMainKeys; Ctrl AllMainKeys; Alt AllMainKeys>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
Connect With Us