Nov 27, 2016 Note-Ify Apps has released Command-Tab Plus 1.0 for macOS. Command-Tab Plus their alternative for the Mac’s built-in Command-Tab app switcher. When working with a lot of apps that run simultaneously, switching between them becomes a problem, because it is often time-consuming. Command-Tab Plus is designed to let you switch between apps in a. Dec 05, 2019 Shift-Command-P: Show or hide the Preview pane in Finder windows. Shift-Command-R: Open the AirDrop window. Shift-Command-T: Show or hide the tab bar in Finder windows. Control-Shift-Command-T: Add selected Finder item to the Dock (OS X Mavericks or later) Shift-Command-U: Open the Utilities folder. Option-Command-D: Show or hide the Dock. Dec 26, 2007 Alt-Tabbing in Windows shows currently open windows and allows to select one of them which then becomes the active window. If there are 3 Firefox windows, then it'll show 3 icons. A slightly different behavior is available in Mac where it shows one icon for all the open windows of an application and then provide a different keyboard shortcut to switch between all the windows of that application.
If you’re savvy enough to be a TMO reader, you’re probably familiar with using the Command-Tab keyboard shortcut to switch between running applications. And if you’re a savvy TMO writer, you’ll stroke your readers’ ego at the start of your articles. After doing that, though, you’d probably discuss what you were going to be giving a tip on. Well, today we’ll be going over using Command-Tab to de-minimize windows for maximum application happiness. Wanna know more? Not sure what the heck I’m talking about? Want me to compliment you again? Then read on.
So if you use Command-Tab all of the time, you’re used to its wonderfulness. Hold down Command and keep tapping Tab to choose which program you want from the Application Switcher, and release Command to select the highlighted option.
If you tap and release Command-Tab quickly, you can toggle back and forth between the last two programs you used. And while you’re holding Command, you can even tap the Q key to quit the highlighted program or the H key to hide it, lickety-split.
My favorite modifier, though, is Option. If you’re a person who uses the yellow “stoplight” button to minimize windows in your computing life, this will be an awesome addition to your Mac arsenal if you didn’t already know about it.
“Your Mac arsenal”? Gah, I’m losing my touch.
So let’s say you’ve minimized iCal’s window. In Snow Leopard, that would mean that it shoots down onto the right side of your Dock; in Lion, it’ll get swallowed up into iCal’s application icon. If you then use Command-Tab to switch to iCal, its window won’t be automatically brought back up. Until now, that is. Hit Command-Tab to bring up the Application Switcher, tap Tab until you reach iCal’s icon, add then add the Option key to the Command key you’re already holding and release. Looky here—iCal’s window de-minimizes itself without any further interaction from you, just by adding on Option before you let the Command key go.
The only downside is that this trick won’t bring back all minimized windows if you have more than one. If you have Mail’s Message Viewer and a couple of draft e-mails minimized, for example, using this will only bring back the Message Viewer. You’ll still have to use the menus or the program’s Dock icon to access your other windows if you’ve got them.
So that’s it. I’m done. You all know my secrets, on this at least. Which means I have to kill—wait a minute. I promised I’d give you more of an ego boost, didn’t I? You all are such smart, funny people, and I’m now virtually hugging each one of you. Except for that one guy over there. Dude, stop grinning at us all like that.
Click here to return to the 'Show and hide apps from the command line' hint |
this hint can be sped up by using:
tell application 'System Events'
instead of:
tell application 'Finder'
in both cases, especially for users who run Path Finder in place of the Finder. if Finder isn't running, the hide AppleScript has to open Finder to execute the application hiding, whereas System Events is always running.
Caution: My experience in my iBook 600 running Panther is that the System Events background app eats between 40 and 80% of my CPU cycles, rendering any other open applications unusably slow. The only fix for this is using Activity Monitor to quit System Events.
some additional notes, after playing with it a bit more...you can escape apps with spaces like 'microsoft word' like 'microsoft word' rather than having to quote it. (i.e. 'hide microsoft word'.)
also, for anyone who's interested, i've posted a somewhat rewritten version of the 'super_hide' script at http://mordeth.pankurokku.com/files/scripts/hide. basically, the main difference is that the name of the script by itself returns the script's syntax, and contains a variable named $FINDER. it is written for Path Finder users, but if you use Apple's Finder instead, you can either delete the line:
and replace all instances of '$FINDER' with 'Finder', or just change 'Path Finder' in the variable to 'Finder'.
See also 'quicksilver' (my current love: hmm, sad, isn't it...)
cmd-space w tab h return
and you're done. (cmd-space activates quicksilver, w selects word (see below), tab activates the 'action' palette, 'h' selects the 'hide' action from the list. No need to remember the name, or use quotes etc etc.
cmd-space w return
and your back (I'm assuming you've 'told' quicksilver that 'w' should point at Microsoft Word). Command line's nice, but this is *much* nicer. And my hands are on the keyboard at all times. Launchbar will do the same thing of course.
Seems like an awful lot of work when just right clicking on the app's Dock icon and selecting hide works just fine (and is faster)!
Can anyone explain why, even after compiling this script and reducing it to typing one command and one app name, that this is preferable over Panther's built-in app-switcher? Or just the long-click or Control-click in Dock as indicated above?
Command-Tab to bring up App-Switcher; Tab, Shift-Tab, or Arrow-key your way to the target app; H or Q to hide/quit the target app.
This feature in Panther, stolen from Michael Kamprath's original App Switcher (now Keyboard Maestro, still useful in Jaguar), is one of the more attractive value-added features in Panther.
About the only use I could foresee for my purposes for the above app is to use it on a remote machine to which I have SSH access, but not VNC. I love alternative ways to do things, really, and I'm not interested in arguing, only in learning where this is useful over what GUI/keyboard tools we already have.
Anyone?
Because some people like to type things. :-) And because you can do it from the Terminal.
This all started out as a question on a mailing list, then turned into a little proof-of-concerpt sripting exercise among several people. If you don't like it, that's fine. But it does show how you can combine shell scripting and AppleScript to do something that is not generally a Terminal operation.
This said, typing hide bbedit is much faster than Command-Tab, arrow, H.
Hmmm.... I type ~110wpm, and I think I can still keystroke an app away faster -- not to mention right-clicks with Fruit Menu to hide/show this or that app; or the global (yes, Virginia, you can make it global in Panther!) Command-Option-H to hide everything but the current app.
I guess my twenty years of GUI is showing; I've been using MK's App Switcher for years, so it's just truly second nature, anymore.
But, I do enjoy watching how people integrate AS and shell actions; though, coming from the AS side of things in a big way, I tend to write AS that does things in Terminal moreso than the other way around.
Thanks for the reply; I appreciate the discussion. (:
Cheers
F