如何为打开的Windows应用程序分配alt + f1键

时间:2023-01-21 11:49:40

I usually have more then 10 opened application windows. When I write code I need to switch fast between a browser, an IDE and terminal windows. Alt + tab is too slow, too many windows to choose from.

我通常有超过10个打开的应用程序窗口。当我编写代码时,我需要在浏览器,IDE和终端窗口之间快速切换。 Alt + tab太慢,窗口太多可供选择。

Virtual desktop is a work around for me. On a first desktop I keep browser, on a second IDE, etc. So I am able to switch fast between my most important applications.

虚拟桌面对我来说是一个解决方案。在第一个桌面上,我保留了浏览器,第二个IDE等等。因此,我可以在最重要的应用程序之间快速切换。

And the question. Is there an utility for Windows XP / Vista which allows to assign a keyboard shortcut like alt + f1 .. f10 to an opened application window?

还有问题。是否有适用于Windows XP / Vista的实用程序,它允许将alt + f1 .. f10等键盘快捷键分配给打开的应用程序窗口?

UPDATE: All programs I've found allow to define a shortcut to an application. E.g. they will open new instance of Firefox instead of switch to an opened one. Closest to what I need is Switcher. It displays big thumbnails of all open windows with assigned numbers to press.

更新:我发现的所有程序都允许定义应用程序的快捷方式。例如。他们将打开Firefox的新实例,而不是切换到打开的实例。最接近我需要的是Switcher。它会显示所有打开窗口的大缩略图,并指定要分配的数字。

3 个解决方案

#1


Autohotkey I've found to be very powerful. Here is a part of my test script.

Autohotkey我发现它非常强大。这是我的测试脚本的一部分。

SetTitleMatchMode, 2

#z::Run http://*.com/

^!n::
IfWinExist Notepad
    WinActivate
else
    Run Notepad
return

!F1::
IfWinExist Firefox
    WinActivate
else
    Run Firefox
return

!F2::
IfWinExist Commander
    WinActivate
return

!F3::
IfWinExist Carbide
    WinActivate
return

#2


Just use Win32 api KBS.

只需使用Win32 api KBS即可。

#3


There's a fair number of shareware apps for keyboard shortcuts out there. Take a look at Stardock's Keyboard Launchpad, it's supposed to be able to do stuff like that.

有相当数量的共享软件应用程序用于键盘快捷键。看看Stardock的键盘Launchpad,它应该可以做那样的事情。

#1


Autohotkey I've found to be very powerful. Here is a part of my test script.

Autohotkey我发现它非常强大。这是我的测试脚本的一部分。

SetTitleMatchMode, 2

#z::Run http://*.com/

^!n::
IfWinExist Notepad
    WinActivate
else
    Run Notepad
return

!F1::
IfWinExist Firefox
    WinActivate
else
    Run Firefox
return

!F2::
IfWinExist Commander
    WinActivate
return

!F3::
IfWinExist Carbide
    WinActivate
return

#2


Just use Win32 api KBS.

只需使用Win32 api KBS即可。

#3


There's a fair number of shareware apps for keyboard shortcuts out there. Take a look at Stardock's Keyboard Launchpad, it's supposed to be able to do stuff like that.

有相当数量的共享软件应用程序用于键盘快捷键。看看Stardock的键盘Launchpad,它应该可以做那样的事情。