You don't need individual lines for sending the modifier.

<UseKeyAsModifier F12>
<Hotkey F12 LButton>
<SendLabel w1, w2, w3, w4, w5>
<Clickmouse %TriggerMainKey%>
<RestoreMousePos>

As far as running this with other programs, it's kind of redundant. Keyclone and ISBoxer both have their own ways to pass mouse for ground-targeted AOE, which only requires setting a hotkey.