jie*_*eup 48 windows windows-7 keyboard-shortcuts shortcuts window
Windows 7 中是否有仅在给定应用程序中的窗口之间切换的快捷方式?我非常喜欢 OS X 中的这个功能;它在 Windows 中的等价物是什么?
Sco*_*ott 53
如果它是任务栏上的前十个应用程序之一,则
(Win)+ n,其中n是其位置编号,将选择它并在窗口中循环。(0第十个应用程序使用(零)。)例如,我将 Windows 资源管理器和 Internet Explorer 固定为任务栏上的前两项,因此我可以使用
+1循环浏览我的目录,使用
+2循环浏览我的浏览器。
一些奇怪的笔记:
如果您按住
并键入(然后松开)一个数字n,Windows 将在任务栏上打开第 n个应用程序。n
如上所述,重复点击将在该程序的窗口中循环。正如 TranslucentCloud 所述,如果您然后键入Shift+ n,它将以相反的顺序循环遍历它们,就像Alt+Tab
和 Ctrl+Tab等一样。
如果任务栏上的第n个应用程序已固定但未运行,则
+n将启动它。
和Shift,然后键入n,Windows 将启动该应用程序的一个新实例(或至少一个新窗口),
即使它已经在运行。
(对于某些不允许多个窗口同时运行的应用程序,例如 Windows Media Player,这将失败。)
+n似乎不适用于数字键盘。ech*_*son 24
在 Windows 7 和 8 中,虽然我知道没有单独从键盘上可用的快捷方式,但您可以Ctrl在单击您感兴趣的应用程序的任务栏图标的同时按住不放。每次执行此操作时,属于该应用程序的不同窗口将走在前列。
此外,程序VistaSwitcher设置Win+F11和Alt+`在当前应用程序的窗口之间切换。(顺便说一句,它的网站说不支持 Windows 8,但我在 8.1 下很幸运;到目前为止我看到的唯一问题是它有时将搜索侧边栏等内容列为打开的窗口。我只是忽略那个,但是YMMV。)
Sep*_*man 23
您可以使用 AutoHotkey:www.autohotkey.com
并把这个脚本放在那里:
!`:: ; Next window
WinGetClass, ActiveClass, A
WinGet, WinClassCount, Count, ahk_class %ActiveClass%
IF WinClassCount = 1
Return
Else
WinGet, List, List, % "ahk_class " ActiveClass
Loop, % List
{
index := List - A_Index + 1
WinGet, State, MinMax, % "ahk_id " List%index%
if (State <> -1)
{
WinID := List%index%
break
}
}
WinActivate, % "ahk_id " WinID
return
!^`:: ; Last window
WinGetClass, ActiveClass, A
WinGet, WinClassCount, Count, ahk_class %ActiveClass%
IF WinClassCount = 1
Return
Else
WinGet, List, List, % "ahk_class " ActiveClass
Loop, % List
{
index := List - A_Index + 1
WinGet, State, MinMax, % "ahk_id " List%index%
if (State <> -1)
{
WinID := List%index%
break
}
}
WinActivate, % "ahk_id " WinID
return
Run Code Online (Sandbox Code Playgroud)
对我来说效果很好。使用 Autohotkey 我还制作了我的复制/粘贴/撤消,...像 Mac 一样的键。效果很好!
时代
小智 11
谢谢,Erasmose,但是如果没有该类型的其他窗口,您的自动热键脚本版本将最小化一个窗口。有时你不知道,最小化是一种很烦人的发现方式,所以我像这样修改了你的脚本:
!`:: ; Next window
WinGetClass, ActiveClass, A
WinGet, WinClassCount, Count, ahk_class %ActiveClass%
IF WinClassCount = 1
Return
Else
WinSet, Bottom,, A
WinActivate, ahk_class %ActiveClass%
return
!+`:: ; Last window
WinGetClass, ActiveClass, A
WinActivateBottom, ahk_class %ActiveClass%
return
Run Code Online (Sandbox Code Playgroud)
哦,我还更改了最后一堂课以使用 shift 而不是 ctrl,因为我是使用其他几个键盘快捷键倒退的修饰符。我喜欢自动热键。
Neosmart 的Easy Windows Switcher正是您所追求的。
这是来自Easy Windows Switcher网站的描述
Easy Window Switcher 使在不同窗口之间切换alt+`就像在 Mac 上一样简单(alt+backtick)。忘记必须
alt+tab在一百万个不同的打开窗口之间找到您正在寻找的窗口,使用 Easy Window Switcher,在同一程序的窗口之间切换只需一步之alt+`遥。
小智 6
我创建了一个 AutoHotkey 脚本来在与常规 Window Apps、Chrome Shortcuts和Chrome Apps一起使用的相同应用程序的窗口之间切换。
在那个Github 存储库中,还有另一个 AutoHotkey 脚本可以与这个脚本很好地配合使用,因为您将能够使用所需的热键打开、恢复或最小化您的应用程序。
例子:
F7:: OpenOrShowAppBasedOnExeName("C:\Windows\System32\SnippingTool.exe")F8:: OpenOrShowAppBasedOnWindowTitle("Gmail", "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --app=https://mail.google.com/mail/")