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.
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.
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?
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.
Autohotkey I've found to be very powerful. Here is a part of my test script.
SetTitleMatchMode, 2
#z::Run http://stackoverflow.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
Just use Win32 api KBS.
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.
Related
I am using MacBook Pro , macOS Mojave (10.14.4) . I am not able to toggle between windows of same application .
I tried Command + BackTick but its not working . Tried to change shortcut for "Move focus to next window" , but no luck .
Thanks
Another approach to bring up minimized windows without using 3rd-party app is to use Ctrl + Down (Mission Control's Application windows)
I feel Command + ` should be fixed, it should show minimized windows too. Or yellow traffic light button should default to hidden instead of minimized, so Command + ` can show all windows of same app
Note: Control + Down also works even if all of the windows of an application are minimized
I now disabled Command + ` on my machine. It's confusing to have two shortcuts for basically achieving the same thing.
I think the other windows of your same application are minimized.
Sadly, there's no keyboard shortcut that can show windows of same application if those windows are minimized. Command + Backtick only works on visible windows.
You can bring up the other minimized windows by right clicking the app's icon on the dock, then select the minimized window
UPDATE April 20 2019
Found an application that can bring up minimized windows of same application. App is HyperSwitch. You still need to do command + tab, then wait a second, a preview of all windows of same application will be shown. Then you can press command + backtick to switch to all windows of same application, even the minimized ones.
Found it on https://apple.stackexchange.com/questions/2718/best-app-to-switch-between-all-open-windows
Another good option: AltTab
Use option+tab to toggle/switch among applications
To toggle/switch among windows of same application, use: option+`
You can change the option to command on AltTab, doing that, AltTab will override the default command+tab app switcher of macOS
Download at: https://alt-tab-macos.netlify.app/
seen from: https://www.youtube.com/watch?t=468&v=W1L2V09VXwY
If you turn on "Active Corners" you can make windows of same application pop up if you pull your mouse to the far corner you have activated and assigned to "program windows".....
Sorry for the messy terminology, my system language is set to danish, so the english terms I use here are just guesses.
I came here because I had a similar problem, maybe it helps someone in the future.
For me, it was fixed by reassigning the shortcut for "Move focus to next window" (to the same key combination as before). Not sure why, but it worked for me.
Is any of you know if there is a systematic keyboard shortcut to switch back to the main window from the search box in Windows 7 (either from Notepad++ side, or Windows 7 side)?
Of course, you could do Alt+Tab but you might not end up directly on the right window (you might have to do "Alt+Tab" several times).
The idea to use Win+ to switch between windows does not work because the search box is not recognized as a dedicated window.
Thanks
Courtesy of Kard Nails:
Press Alt+Tab twice, releasing the Alt key between. When you go back
to Notepad++ with the second switch, the search dialog is no longer on
focus.
I'm using Windows 7 (Spanish Version) at the office, and all I've got to do to hit the search box is to press CTRL + B.
I see that in Tools -> Options -> Keyboard you can set Keyboard shortcuts for a large number of tasks. I tried searching for "Close" and these are the results, amongst a few others:
File.Close
File.CloseAllButThis
File.CloseProject
File.CloseSolution
If I set File.Close to be Ctrl+W (Honestly, why doesn't Microsoft innately support such a universal shortcut is beyond me) it mostly works, however if I have both the code-behind and the Designer view open for a form, it closes both tabs. Should I be setting a different command, or am I stuck with this? It's a small inconvenience, but it really irritates me.
I don't know if it's the same in VS2010, but in VS2012 this command is called "Window.CloseDocumentWindow" and it is mapped to Ctrl+F4 by default, to mirror Alt+F4 for closing application-level windows.
I believe the Ctrl+W shortcut was first brought to Microsoft Windows by Adobe Photoshop, a carry-over from Apple OS X, where Adobe seems to have remapped all of the ⌘ command+* shortcuts to Ctrl+*. On OS X, ⌘ command+W only closes windows, but the application stays resident. One uses ⌘ command+Q to quit applications, instead. As the window is the application in Windows, Ctrl+W is kind of a misnomer, but it has gotten more popular for some applications like web browsers to support it.
Given the market dominance of MS Windows over Apple OS X for desktop operating systems, it would seem that the F4-style shortcuts are "more universal" than the W/Q ones.
Use CTRL+F4 to close current window, to close all window of visual studio and shut down use - ALT+F4 .
Go to Tools -> Options -> Keyboard Apply "visual studio code" additional keyboard mapping scheme
If I want to stop my code from executing on a PC, I know I just need to press ctrl+break. But since my Mac has no "break" key I am not sure what to do?
What is the equivalent in Mac?
Use ⌘. on Mac to stop the code.
The ⌘ . or ctrl ESC keys do not function exactly like on the PC. They do not break to the debugger on a modal dialog box. Use ESC ESC (Press the ESC twice) to bring up a dialog that allows you to enter the debugger at the location in code of the dialog box display. Tested in Excel VBA 2011
cntrl-esc works like cntrl-break on my macbook pro to stop Excel vba running under Windows 7.
Apologies for resurrecting this. This is the first result on a google search so I figured I should answer.
Working in IDEs within a windows VM environment on Mac (eg: Visual Basic for Applications) the command is actually fn + esc
I am working on a Mac. I use Cmd+Option+Esc to stop my code.
I want to control a streaming music website with global hotkeys, so I can use the site's player controls (play/pause/next/etc) while another application has focus. I can use Greasemonkey to do this on the site when the browser has focus. What I can't figure out is a bridge between OS-level hotkeys and Greasemonkey.
Any suggestions?
Edit 2011-02-04:
New method: https://gist.github.com/cc9cf651f341cc938852.
The window switching was becoming a hassle and would glitch out occasionally, so I've added MozRepl to the stack (https://github.com/bard/mozrepl). Same idea, just targets a terminal with a Mozrepl instance, which controls Firefox.
Edit 2011-02-01:
AutoHotKey works well here. I put up a gist at https://gist.github.com/805417 for anyone else whom this might help.
Greasemonkey cannot do this.
I doubt that a Firefox or Chrome extension could do this.
A C, Python, etc. program probably could do it -- maybe coupled with an extension...
I found a bridge: AutoHotKey
This script I whipped up will look for a window with "Hype Machine" anywhere in the title. If successful, it will map ctrl+shift+[e|q|...] to functions that activate the Hype Machine window, send a certain keystroke command then alt+tab, which gets us back to our original window.
#SingleInstance force
SetTitleMatchMode 2 ; Anywhere in title
SetTitleMatchMode Fast
SendMode Input
#IfWinExist Hype Machine
{
^+d::
WinActivate
return
^+e::
WinActivate
WinWaitActive
Send n !{Tab}
return
^+q::
WinActivate
WinWaitActive
Send p !{Tab}
return
}