I know I did this before, but I cant remember how I did it.
I want to simply press 1-9 and have it act like WinKey+1-9. So it will switch between the open programs in the taskbar.
WinKey+1-9 Switching Between Open Programs
Re: WinKey+1-9 Switching Between Open Programs
Code: Select all
1::
2::
3::
4::
5::
6::
7::
8::
9::
{
Send % "#" A_ThisHotkey
return
}
Code: Select all
fn := Func("customSend")
Loop 9
Hotkey, % Chr(48 + A_Index), % fn
customSend() {
Send % "#" A_ThisHotkey
}