I thought you might say something like that... I'll see if I can come up with an example.
to start with you can define left control as a hotkey for space like so:
LControl::Send {Space}
problem with this is that it will make ctrl your space key in any program, so you need to use IfWinActive to test for W:A running. I don't have worms so I can't remember the window title, but if it's wrong you can run worms, minimize and see what it says in the taskbar on the W:A window.
Anyway, it'll look like that:
IfWinActive Worms Armageddon {
LControl::Send {Space}
}
sorry, this is wrong... well it might work but this is better:
SetTitleMatchMode, 2
#IfWinActive Worms Armageddon
LControl::Send {Space}
where "Worms Armageddon" is whatever the window title is.
I can't imagine you will need to use control anywhere else in W:A, but if you did you could make another key switch this binding on and off. A bit more complicated and probably not worth it.
________________
You know I'm a dancing machine |
Your Comments: