WinKey+1-9 Switching Between Open Programs

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
thebib622
Posts: 25
Joined: 01 Aug 2017, 17:09

WinKey+1-9 Switching Between Open Programs

21 May 2018, 03:57

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.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: WinKey+1-9 Switching Between Open Programs

21 May 2018, 04:06

Code: Select all

1::
2::
3::
4::
5::
6::
7::
8::
9::
{
	Send % "#" A_ThisHotkey
return
}
or

Code: Select all

fn := Func("customSend")
Loop 9
	Hotkey, % Chr(48 + A_Index), % fn

customSend() {
	Send % "#" A_ThisHotkey
}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: popdeg, Rikk03, Spawnova and 167 guests