首页 > tabs > AHK按钮运行'alt + tab'并在选择窗口时结束

AHK按钮运行'alt + tab'并在选择窗口时结束 (AHK Button to run 'alt+tab' and ends when a window is picked)

问题

我是新手,我正在尝试编写一个按钮(雨量计),它为'alt + tab'运行AHK脚本以提示任务窗口,并在我选择一个时结束。到目前为止,我已经想出了这个:

#NoTrayIcon
#InstallKeybdHook 
#InstallMouseHook 
Send, !{Tab}
KeyIsDown :=
GetKeyState (LButton,P)
return
ifEqual, KeyIsDown, 1
Exit

任何想法,请帮忙!

解决方法

Windows 7/10:

Ctrl + Alt + Tab会提示任务窗口。

Send {Ctrl down}{Alt down}{Tab}{Alt up}{Ctrl up}

Windows 8:

Run %A_AppData%\Microsoft\Internet Explorer\Quick Launch\Window Switcher.lnk

问题

I'm new to this and I'm trying to code a button (rainmeter) that runs an AHK script for 'alt+tab' to prompt the Task Window and ends when I pick one. So far I've come up with this:

#NoTrayIcon
#InstallKeybdHook 
#InstallMouseHook 
Send, !{Tab}
KeyIsDown :=
GetKeyState (LButton,P)
return
ifEqual, KeyIsDown, 1
Exit

Any ideas, help please!

解决方法

Windows 7/10:

Ctrl+Alt+Tab prompts the Task Window.

Send {Ctrl down}{Alt down}{Tab}{Alt up}{Ctrl up}

Windows 8:

Run %A_AppData%\Microsoft\Internet Explorer\Quick Launch\Window Switcher.lnk
相似信息