607

Do you know any hidden or little-known nice feature of macOS (née Mac OS X)? It doesn't matter what it is—maybe just a short terminal command or a keyboard shortcut. Share your experiences on hidden Mac OS X features with us..

Please post one tip per answer. Please also check to see if your answer has already been posted - duplicate answers will be deleted. To search answers for this question use inquestion:400 (or inquestion:this, directly from the question page) in addition to your search terms in the search box in the upper right hand corner of this page.

Also provide details on how to achieve that feature, and if possible, include a relevant image too!

Am1rr3zA
  • 13,219
  • 14
  • 68
  • 88
  • I wonder if the "Terminal Tips and Tricks For Mac OS X" thread from SU can be ported over: http://superuser.com/questions/52483/terminal-tips-and-tricks-for-mac-os-x – Josh Newman Sep 14 '10 at 17:12
  • @3rdparty, that would probably happen only after this site is out of beta... (though I don't know what the exact plan is with regard to these overlapping sites). – Jonik Sep 14 '10 at 17:18
  • more of the same here http://superuser.com/questions/15646/underused-mac-os-x-gui-features – username Sep 14 '10 at 17:40
  • Hacker News'd: http://news.ycombinator.com/item?id=2436198 – Kyle Cronin Apr 12 '11 at 08:46
  • @kyle since this news added the question's view grow so fast – Am1rr3zA Apr 12 '11 at 09:15
  • 8
    My collection of OS X tweaks (hidden or not) can be found here: http://mths.be/osx – Mathias Bynens May 02 '13 at 18:43
  • 6
    Does iOS count? I'm sure most people know, but if you pull the camera thingy on the lock screen in iOS 7 up about 2/3 of the screen and then quickly flick it back down again, it will bounce up high enough to trigger the camera! – RPiAwesomeness Dec 27 '13 at 03:56
  • How about running it in VMWare Workstation on a PC? – Martin Hatch Aug 20 '14 at 21:07
  • There are many useful tips hidden all the way on Page 5, because new answers (with votes=0) are unlikely to get voted up when they're hidden way back there! Wish there was a sort by "random" option or something. – Demis Jul 07 '17 at 15:33
  • I wish there were an easy way to search these five pages of answers, so I could ensure mine wouldn't be a repeat. – 2540625 Nov 12 '18 at 05:23

157 Answers157

418

In any Finder window or Open/Save dialog, you can hit G (just '/' also works in Open/Save) to get a location bar from which you can directly type in the directory to go to. It even supports ~ for home and tab completion.

The Open/Save dialog has several other useful shortcuts:

  • R - Reveals the selected item in a new Finder window.
  • I - Info window shows for the selected item.
  • > - Shows/Hides hidden files in the dialog
  • F - cursor jumps to the Find text field
  • / or ~ - Opens a Go To Folder dialogue.
  • D or D - selects the ~/Desktop folder as a destination
  • L - selects ~/Downloads folder as a destination
  • O - selects ~/Documents folder as a destination
  • S - Shows/Hides sidebar
  • . or esc - Cancels and closes the dialog window
pTK
  • 107
  • 90
    Typing / or ~ in an open/save dialog will also trigger the file path text field to appear. – John Siracusa Sep 14 '10 at 18:09
  • 6
    This basically works like the command line cd command. Type /... to go to absolute paths, ~/... for paths relative to the user directory and ... for directories relative to the current directory. Great for opening hidden directories. – deceze Sep 27 '10 at 03:21
  • Unfortunately this doesn't seem to support special characters. For example, if I try to autocomplete a path that contains "ö", it doesn't work. If I write the whole path myself, it works just fine. – Thardas Apr 12 '11 at 11:25
  • Also, does anyone know how to use autocomplete without the focus jumping to OK if there was no match? – Thardas Apr 12 '11 at 11:26
  • Few of these seem to work in TextEdit. – Daniel Aug 07 '14 at 15:05
286

In the terminal, you can pipe the output of any command to pbcopy to copy it to the system clipboard. You can also paste from the system clipboard using pbpaste, and pipe that to another command or write the value directly to a file:

Copy a string: echo "ohai im in ur clipboardz" | pbcopy

Copy the HTML of StackOverflow.com: curl "http://stackoverflow.com/" | pbcopy

Open a new buffer in VIM, initialized to the content of the clipboard: pbpaste | vim -

Save the contents of the clipboard directly to a file: pbpaste > newfile.txt

s4y
  • 471
  • 55
    You can also use this to turn rich text (HTML/RTF/etc) into plain-text; just "pbpaste | pbcopy". – caelyx Apr 13 '11 at 23:40
  • 1
    That is super useful to get things such as directory listings, listings filtered by grep, etc. Love it. – milesmeow Dec 31 '11 at 23:21
279

I always find the ++4, space (you must press space at the end otherwise it doesn't work) command is really useful, and one that a lot of people don't know you can do. Upon pressing space, you get a large camera icon for your cursor, and it allows you to take a screenshot just of the highlighted window. The nice thing is that OS X preserves the window drop shadow, with full alpha transparency. So when you paste the images into other documents, they look fab.


More screenshot magic from 3rdparty.

Screenshot Secrets via: http://digitalmedia.oreilly.com/2006/01/01/mac-os-x-screenshot-secrets.html:

  • ++3 Capture entire screen and save as a file

  • +ctrl++3 Capture entire screen and copy to the clipboard

  • ++4 Capture dragged area and save as a file

  • +ctrl++4 Capture dragged area and copy to the clipboard

  • ++4 then space Capture a window, menu, desktop icon, or the menu bar and save as a file

  • +ctrl++4 then space Capture a window, menu, desktop icon, or the menu bar and copy to the clipboard

  • Another useful trick is to hold space while drawing a capture area to reposition it.

  • Another trick is to hold option while drawing a capture area, to resize the area in all directions, instead of just the one corner you're dragging.

  • For fine-tuning on a certain axis, you can hold shift and the axis you next move in is the one you'll control.

  • Hit esc while capturing an area or window to exit capture mode.

Note: I added this because I find it to be useful. I don't mean any offense to anyone's answer in doing so.

  • 76
    I'd rather describe it as "Having pressed cmd+shift+4, you can toggle between a crosshair snap and a full-window snap using spacebar". – deceze Aug 26 '10 at 02:25
  • 2
    I didn't know about the "space" aspect -- very nice! – Michael H. Sep 08 '10 at 06:28
  • 3
    Tried to add a few more but wouldn't fit as a comment - OP feel free to edit your answer: http://apple.stackexchange.com/questions/400/mac-os-x-hidden-features-and-nice-tips-tricks/1534#1534 – Josh Newman Sep 14 '10 at 17:22
  • 1
    Holy crap. That is seriously a hidden gem. – bummzack Sep 14 '10 at 17:41
  • A downside to this method, the space keystroke is actually sent to the active window, so once I tried to capture a window, pressed space, and that made the window change because of the space key and then my screenshot opportunity was ruined. There's a little chance that the window changed automatically in the exact moment I hit the space and everything I said is pure bullshit, so I don't know. – Petruza Apr 04 '11 at 14:46
  • I think I can remember the shortcut, then I just open Grab: CMD+SPACE, then type 'grab' and hit enter. – John Ferguson Apr 08 '11 at 22:48
  • 11
    If you hold CTRL while taking the shot, it is placed in your clipboard. – klaaspieter Apr 13 '11 at 08:30
  • 4
    If you hold Option while rect-dragging, it affects all four corners - handy when your start position was slightly off. – Erics Jul 05 '13 at 07:44
  • 1
    Note also that if you want the window without the drop shadow, you can Alt-click the window to capture, instead of clicking it. – calum_b Jan 23 '17 at 15:55
  • If you have a TouchBar laptop, the touchbar will show you options of where to save (Desktop, Clipboard) and which type of grab (Screen, Window, Selection). Although I've used this since OS 8/9 or so, I had no idea about half of these additional options! Amazing! – Demis Sep 23 '18 at 05:40
264

You can increase or decrease your volume, brightness, or keyboard backlighting brightness by quarter increments by using the following combination:

+ + Volume Up/Down


Note that this feature was disabled in Mac OS X Lion from 10.7 through 10.7.3. This feature was restored in 10.7.4. For workarounds on how to accomplish this on earlier Lion versions, see this question.

Reed Olsen
  • 145
  • 1
  • 1
  • 6
229

While +Tab-ing between applications, without releasing , you can hit Q to quit or H to hide the selected application. Works great with the mouse to get rid of a whole bunch of applications quickly.

The bevel won't go away and you can repeat this for as many applications as you like as long as you're holding .

If you have multiple windows of an app, use key 1, , or to reveal the windows while that app is highlighted in the application switching strip. i.e.: while +Tab-ing, when you highlight the app with multiple windows, keep held down and press one of those keys. Then use mouse to go that window.

  • 2
    Nice one! Really saves precious seconds. – Jonik Sep 17 '10 at 13:30
  • Holy crap, this rocks! – ceejayoz Apr 12 '11 at 13:53
  • Amazing! I didn't know about this one. – daviesgeek Sep 06 '11 at 01:50
  • Amazing!! I have used macbook for over a year and I don't even know it! – code4j Feb 18 '13 at 20:44
  • 8
    Holding OPTION when over a hidden or minimised application will bring it back to the foreground when you let go. – twe4ked Jun 24 '13 at 09:42
  • @scubbo You can always ask a jeopardy question if you want to share an answer. In this case, you could ask as someone who wants a keyboard control for quitting an app rather than using the mouse. Your answer here (and the entire question) is buried inside "tips" and someone searching for this answer can't easily find it by how the site indexes questions over answers. – bmike Jun 25 '13 at 13:01
  • 1
    In a similar manner, you can press the "1" key to show all of the open windows of the highlighted application. – Tyler Mumford Jul 04 '13 at 21:03
  • Really cool! Only app it doesn't work for is Finder. – aliteralmind May 25 '15 at 01:42
  • Also shift-Tab scrolls backwards in the List. Very useful to do WHILE dragging a file - to drag between apps or desktop. Did you know Windows also has the Tab-switcher? – Demis Feb 17 '20 at 23:50
  • Some applications won't show when you ⌘+Tab. You have to use your mouse to bring them to the foreground which isn't the cause with windows or linux. What causes this? – David Okwii May 15 '23 at 12:30
227

Holding (Option)while clicking menu bar icons will give you additional menu items or alternate menus. The alternate volume control menu will let you choose input and output audio devices.

volume menu

Bonus: On older versions of OS X, this gave you the alert volume instead of devices. You can still get the alert volume using clicking.

For the airport menu, you'll get WiFi connection information.

Wifi menu

The Bluetooth menu will include debugging information and tools.

BlueTooth menu

Time Machine will show "Verify Backups" and "Browse Other Time Machine Disks". Unlike the other menus, the Time Machine menu will show the alternates if you hold Option after opening the menu, and will hide them if you release it.

203

Proxy icons

In a document-based application (like Finder, TextEdit, Preview, Pages…), after a document has been saved, a proxy icon for the document appears in the title bar. It represent the file itself, and can be likewise manipulated:

  • click it for a few seconds and drag to another application to open it, or to the desktop/Finder if you want to copy/move it, etc…
  • ⌘-click (or control-click, or right-click) it to view the path menu, useful to open the folder or any subfolders of the file in the Finder.

alt text

  • ⌘-click on the titlebar in Safari can help you easily move up the directory structure of a web site, too!

    alt text

  • Since Mountain Lion you can edit the document titles:

    inline renaming of documents

198

I love the fact that OS X will scroll the window that the mouse is hovering over, even if another application has focus. That way I can scroll an example that I am coding in TextMate without having to lose keyboard control on TM

181

Most applications on OS X respect emacs' style shortcuts for maneuvering about in text fields.

  • ctrl+A: beginning of line.

  • ctrl+E: end of line.

  • ctrl+U: delete from cursor to beginning of line.

  • ctrl+K: delete from cursor to end of line.

  • ctrl+W: erase word to the left.

  • ctrl+T: transpose characters around cursor.

There are others that are slipping my mind currently I'm sure. I miss this so much on Linux.

gentmatt
  • 49,722
  • 30
    these are emacs shortcuts more than they are bash i believe – dstarh Feb 09 '11 at 21:31
  • 9
    Those are indeed Emacs bindings; bash uses libreadline, which defaults to Emacs style. There are plenty of other bindings: CTRL+f / CTRL+b to move back and forward by character, and OPT+f / OPT+b to move by word (super useful!). Similarly, CTRL+d deletes the character to the right, and OPT+Delete deletes the word to the left. – ieure Apr 08 '11 at 19:28
  • 3
    Hmmm the System Preferences need to have a option to choose vim bindings. – Will Hardy Apr 08 '11 at 22:40
  • 12
    @Will Hardy set -o vi – Bluu Apr 09 '11 at 03:46
  • 3
    @Bluu: Instant Nerdgasm. <3 – bastibe Apr 12 '11 at 08:06
  • They're frustratingly inconsistent, though; they work in some apps but not all. – offby1 Oct 25 '14 at 04:03
  • @WillHardy install Karabiner – iLemming Mar 07 '15 at 21:09
  • 1
    Most of those actions can also be done using cmd, shift and option keys which is way more easier to remember:

    cmd for skipping to the end/beginning of the line, option for moving word by word, shift for selecting the characters while moving the cursor

    – Yunus Nedim Mehel Jul 26 '15 at 08:47
165

When I first switched to Mac a couple of years back, I was using it full time for nearly six months before someone showed me +space to bring up the Spotlight Search. Single best shortcut I've learned.

The Spotlight search field and Siri (especially with text input) can also handle simple mathematical expressions. No need for Calculator.app for a quick bit of division!

Tim Sullivan
  • 353
  • 2
  • 7
  • 14
  • 3
    I use this shortcut all the time for quick lookup of English word definitions (from the built-in New Oxford American Dictionary) – Jonik Sep 14 '10 at 21:14
  • 4
    I use Alfred instead, I should try spotlight if it remembers things liek Alfred does. – Dmitriy Likhten Sep 28 '11 at 20:20
  • 3
    Isn't the default keyboard command Ctrl+Space in recent versions of OS X? – yusf Apr 12 '12 at 17:13
  • 4
    @LessPop_MoreFizz It can even handle a bit more than simple division, try sqrt(10), cos(10) and so on. – Emil Feb 07 '13 at 18:19
  • I installed Quicksilver and use ⌘+space for it instead. I haven't used Spotlight in a year or so. – Tyler Crompton Jun 24 '13 at 16:24
  • Note that if you have multiple keyboard layouts enabled on your Mac, Command-Space might switch between those layouts instead (see "Input Sources" section of "Language & Text" control panel). As I never got into the habit of using Spotlight, I don't mind. – Garrett Albright Jul 06 '13 at 04:15
  • You can change cmd+space to something else, via System prefs > Spotlight > Keyboard shortcuts > Spotlight. I like f10. – aliteralmind May 25 '15 at 01:46
  • 3
    And if you move your spotlight field with a force touch trackpad, you can feel a little "tick" when it's centered. – tourdetour Dec 23 '15 at 23:14
  • I miss pre-Yosemite spotlight. The new one takes up too much screen realestate and I never use it. – Wowfunhappy Jul 24 '18 at 18:24
150

Want tab to go to every field on a form not just input fields?

I got sick of the state/country drop down fields of web forms being skipped when tabbing.

Go to System Preferences → Keyboard and set Full Keyboard Access to All Controls.

alt text

In system dialogs, if you tab-highlight a button, hit space to "click" it (hitting enter will still choose whatever the default action is, regardless of what button your tab has focused on).

wunch
  • 111
149

I needed this today, when I had to shut down several Macs.

ctrl + Shows the shut down dialog. Type R to restart, S to sleep

ctrl + + + Shuts the computer down

+ + sends computer to sleep

+ ctrl + send display only to sleep (great for locking your computer instantly)

ctrl + + restarts the Mac

+ + esc lets you kill not responding programs (including the Finder)

and one of my favorites

+ , gets you to preferences of almost every program

  • So glad people liked my work on Command-Comma. :) – Paul Schreiber Apr 13 '11 at 03:38
  • I like the display sleeping one. Didn't know that! – daviesgeek Sep 06 '11 at 02:06
  • 19
    Instead of eject, you can use the power button. Useful for MacBook Airs that don't have an eject button. – bot47 Aug 19 '12 at 19:32
  • 3
    I always forget which one reboots, sleeps or shuts down. I just know that if I press everything, it shuts down. – Pepijn Jun 24 '13 at 11:02
  • 3
    I can't remember all these combinations, I simply use CTRL-EJECT to get the window to select from Restart, Sleep, and Shutdown. As I mostly shutdown, I simply press enter next. – Tafkadasoh May 12 '14 at 11:43
  • Thank you for sharing these shortcuts. Not all characters are recognised by my iPad though, maybe add a plain text description? – 11684 May 18 '14 at 15:38
141

While typing, just press F5 to get suggestions for what you're typing (almost equivalent to spell-check suggestions). Example:

alt text

RegDwight
  • 107
  • 16
    OH MY GOD THIS IS AMAZING. I had no idea this existed! – Josh Hunt Dec 30 '10 at 12:10
  • 16
    Or for MacBooks where to press F5 you have to press the Fn key as well, you could just use the Esc button. (This is cool though, thanks for bringing it to my attention :)) – Jonathan. Jan 09 '11 at 18:19
  • 9
    Esc works too, but it more unsafe due to Esc usually having another function. But it works :). – Jason Salaz Mar 12 '11 at 01:46
  • Any way to make it work with other languages? – Daniel Aug 07 '14 at 15:17
  • The order in which it suggests words depends on the context. Just selecting the first that comes up, repeatedly, gives me "I love you so much fun and I think it’s a good day to be a good day to be a good day" etc. :-) – mabartibin Jun 08 '15 at 13:20
134

You can click on Dock app icons with modifier keys for special functions relating to that app:

  • With the key pressed, the clicked application will be shown in a Finder window (via @Mactip).
  • With the key pressed, the clicked application will be hidden if it is visible.
Josh Newman
  • 2,079
  • 32
    To my delight I just noticed that cmd + click (or cmd + enter) in Spotlight search results (and some other places) follows the same logic (= show in Finder instead of opening) – Jonik Sep 26 '10 at 12:19
  • 1
    not working in yosemite? – maysi Mar 19 '15 at 20:15
  • 1
    Works for me in Yosemite... – imagineerThis Sep 17 '15 at 06:31
  • 1
    [Command]-click on nearly anything in Finder will show the file/folder rather than opening it. That includes Dock menus, spotlight searches and Proxy Icons. – Demis Jul 07 '17 at 04:39
  • On macOS 12.6, option-clicking on any app in the Dock hides the frontmost app, and makes the one I clicked frontmost (or if I click the frontmost app, it simply hides that one). I don't know how long this has been the behaviour. – Louie Louie Sep 18 '22 at 19:43
123

The speech synthesizer, which is available from the command line, with the command say, knows how to correctly pronounce the operating system name:

say Mac OS X

It won't say "MacOSex", but "Mac OhEs Ten". That's attention to detail. It works even if you specify macosx as the argument.

115

In Terminal (Applications/Utilities/Terminal), open can be pretty handy. It can:

  • launch programs by exact path to the executable
  • launch any program in the PATH directories by executable name

In Terminal, type open -a Application to launch an application that lives in the /Applications folder, or open <exact path to applcation> to launch an application that is anywhere on your computer.

  • open files in default applications

Just us open <file>. open song.mp3 will open song.mp3 in the default audio player (in my case iTunes)

  • open files with other applications

Open a file with Mail.app (i.e. mail the file) open -a Mail homework.txt

  • open a Finder window into a local directory
  • open a Finder window into a network share

open /Path/to/dir/ will launch the folder in Finder, whereas open . will open the current folder in Finder.

  • open any URL with its default handler (e.g. a browser)

open http://google.com will launch the default browser and open the url. It also works for FTP (but i have not tested anything else)

For more, just run man open in Terminal or see this page.

From Super User

mouviciel
  • 1,479
  • I use this all the time in combination with DTerm. As well as "touch file.ext" to make text-based files quickly. – Groxx Apr 05 '11 at 20:25
  • 3
    When using the open -a construct with apps in the /Applications folder, also note that you don't need the .app extension nor do you need to match case. E.g., open -a textedit – Sam Apr 12 '11 at 14:39
  • 1
    open -a AppName also works for applications in ~/Applications, or subfolders of either Applications directory. – eyelidlessness Apr 14 '11 at 05:10
  • 1
    open -R file to reveal the file in Finder – Tyilo Apr 03 '12 at 08:56
  • This is equivalent to start on Windows – manojlds Jun 24 '13 at 05:52
  • 1
    open -n is possibly one of my personal favorites. It lets me open more than one copy of an app, which I actually use a lot with Eclipse and Firefox. – nneonneo Jan 06 '15 at 00:49
  • 1
    I so often need to open dirs from the terminal that I assigned it an alias - alias o="open .". Also, slightly related but cd to is an incredibly useful add for the finder Toolbar which opens the current directory in the Terminal. – Siddhartha Oct 23 '15 at 07:24
  • 1
    @Sam, I suspect the "nor do you need to match case" is only true if you use the Apple default filesystem format—which is case insensitive but case preserving. Much much better idea is to use "Mac OS Extended (Case-sensitive, Journaled)" rather than the default "Mac OS Extended (Journaled)". – Wildcard Dec 26 '15 at 09:10
  • 1
    open -e (for 'edit') opens in TextEdit. – Demis Jul 07 '17 at 04:41
108

It took me a while before I figured out that hitting the space bar while in Finder launches Quick Look on whatever is selected. VERY handy.

Also note that holding while doing this throws you straight into the full-screen view.

gentmatt
  • 49,722
Trieu
  • 830
  • 3
  • 9
  • 10
107

In most Mac apps (TextEdit, for example), you can -drag* to select a rectangular area of non-contiguous text.

Rectangular selection in TextEdit

You can also hold while dragging to select multiple disjoint areas in a single selection.

*Hold while dragging your mouse over an area

Fishtoaster
  • 1,052
106

Running

pmset noidle

or

caffeinate

in Terminal will prevent your Mac from sleeping. Press Ctrl+C to stop.

82

In any Open/Save dialog window, hitting +D opens the desktop folder.

Am1rr3zA
  • 13,219
  • 14
  • 68
  • 88
76

When you drag and drop any file (or folder) from Finder onto a Terminal window, it gets converted into the full (absolute) path to that file.

I find this a small but occasionally useful trick when dealing with files in both Finder and Terminal.

Jonik
  • 6,673
  • 1
    I learned this from dbr at Super User, so props to him – Jonik Sep 14 '10 at 21:28
  • 13
    You can also drag & drop files into File Open dialogs, and it will navigate to the appropriate dialog and highlight the file. – Michael H. Sep 22 '10 at 00:30
  • @khedron this was an extremely great functionality I discovered just after switching from windoze. It's one of those features you don't know, but when you try them, they work as they should, as common sense would dictate. – Petruza Apr 04 '11 at 14:53
  • Thanks! BTW, I meant "navigate to the appropriate directory", not dialog. Glad it was still useful. :-) – Michael H. Apr 04 '11 at 22:19
  • 4
    You can also use Copy/Paste instead of Drag & Drop. And since Terminal knows you copied a folder/file, it knows to automatically escape special characters for pasting into the shell. – Chris Page Sep 04 '11 at 09:35
  • 1
    As of Mac OS X Lion 10.7, if you drag a folder or pathname onto a tab (rather than into the terminal view) it will automatically execute a complete "cd" command. – Chris Page Sep 04 '11 at 09:37
  • So the follow up to this is how to change escaping to use another format, such as quotations ("/my path has spaces" vs /my\ path\ has\ spaces)? See: http://apple.stackexchange.com/questions/218361/how-to-customize-drag-n-drop-to-terminal-path-escaping-results – ylluminate Dec 05 '15 at 17:05
75

Hold ctrl and move the scroll wheel (or use two fingers on trackpad). It will zoom in the entire screen.

This setting can be enabled or changed in the System Preferences, under Acessibility, Zoom.

Michael
  • 101
  • 1
  • 3
  • This doesn't work for me, I have to use Cmd+option – Jonathan. Jan 08 '11 at 18:35
  • 5
    I use it occasionally. I wished it was possible to disable antialiasing... To count pixels ;) – Vincent Apr 08 '11 at 23:10
  • @vincent you can disable AA by first zooming then pressing option + command + \ but that has since been rendered obsolete in lion – Alexander Aug 03 '11 at 04:45
  • Great for screencasts when you need to zoom in! – daviesgeek Apr 27 '12 at 23:59
  • 12
    @Vincent you can disable AA in Mac OS X 10.7+ by going to System Preferences -> Accessibility -> Zoom -> Un-tick "Smooth Images". As XAleXOwnZX says, it used to be a very handy shortcut key for pixel-counting graphic designers, I want it back. – simeon Jun 24 '13 at 04:16
  • @simeon Thanks, been using that for a while now. More recently I (re)discovered xScope, which is way way much better to count pixels that this trick. (and has also many other nice features..) – Vincent Jun 24 '13 at 11:17
  • 4
    In Mavericks you have to enable the "Use scroll gesture" option in System Preferences > Accessibility > Zoom – Alfred Xing Jul 06 '14 at 00:03
68

Show the full directory path in the Finder window.

In the Terminal, run this:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Then, run this.

killall Finder

There are all sorts of hidden defaults that can be mucked around with but this is my absolute favorite because now no matter which window I am looking at, I know exactly where I am.

You should also check out TinkerTool for other hidden settings.

Philip Regan
  • 6,251
  • Under the View menu, there's the "Show Path Bar" option which achieves a nice result. – zneak Sep 11 '10 at 20:40
  • Yes, but having the POSIX in the title does away with the icons and extra space that get in the way of longer paths. Usually, I only see the icon folders and the names are either truncated or left out completely. Not terribly useful, really. – Philip Regan Sep 12 '10 at 02:28
  • 1
    I just test this, WOW I really love this one. – Am1rr3zA Jan 31 '11 at 17:23
  • 3
    This is handy, but I think it's too ugly to justify it's constant presence. I'll stick to the path bar. – Alexander Jun 25 '13 at 18:09
66

Holding (or fn on MacBooks, and depending on your System Prefs*) while pressing one of the function-row keys will bring up the System Preference panel for that key. Here's a list:

  • +Brightness: Displays
  • +Exposé/Dashboard: Exposé and Spaces
  • +Mute/Volume: Sound
  • +Keyboard Brightness: Keyboard (for Macs with backlit keyboards)

*If you have checked the option to use F1, F2, etc. keys as standard function keys, done in System Preferences>Keyboard, then you will need to add the fn to the afore mentioned sequences.

2540625
  • 1,910
64

Drag and drop files and folders to "Open" dialogs/sheets: very useful to open package contents with other software.

Just locate the file with the Finder

chess.icns

and drag and drop it to the Open dialog

open dialog

Bonus: you can do the same thing with 'Upload file' web forms. (Only with WebKit-based browser)

drop in browserdropped

  • 2
    Also useful in general for open/save dialogs. – Michael H. Sep 08 '10 at 06:31
  • 4
    I love this behavior and hate that in windows, if you try it, the file is moved to the folder that was showing in the dialog. Stupid! – adambox Sep 16 '10 at 20:12
  • This is especially useful for non-webkit based browsers for uploading files. – Laas May 05 '11 at 12:42
  • 1
    This is also possible with representations of files in most applications, you can for example drag a file from the download bar at the bottom of Chrome straight to an upload field. – Jide Jun 25 '13 at 02:16
  • This is one of my favourite aspects of the MacOS, it prevents you from finding the same file(s) in Finder, and a file dialogue later. Combined with Proxy icons and MissionCtl/Exposé/Spaces keyboard shortcuts, it is a massive productivity booster! Like this: https://apple.stackexchange.com/questions/400/please-share-your-hidden-macos-features-or-tips-and-tricks/289142#289142 – Demis Jan 23 '19 at 08:22
57

On i.a. en-US keyboards +` will cycle through multiple open windows in your current application.

On some other keyboard layouts the hot key may be e.g. +<.

You can verify—and modify—your "Move focus to next window in application" shortcut under System Preferences → Keyboard → Keyboard Shortcuts → Keyboard & Text Input.

Josh Newman
  • 2,079
  • Wow, why didn't I find out about this sooner!? Thanks!! – Ricket Nov 20 '10 at 00:41
  • 3
    It's stunning how many people don't know about this. Of course, I remember when I was complaining about "how bad OSX's Alt Tab is, because it doesn't show all windows". Then I learned how to do it better. – Jason Salaz Mar 12 '11 at 01:47
  • 3
    `cmd + `` (not tilde, which requires shift) can also be used when the task switcher (cmd + tab) is active (continue to hold cmd), selecting the previous application rather than the next. – eyelidlessness Apr 14 '11 at 05:33
  • thanks for the correction @eyelidlessness - it's actually not tilde, as that is only activated with shift. updated the answer. – Josh Newman Apr 14 '11 at 21:56
  • If you hold Shit you also can cycle to the previous window. Pretty useful! – Leo Caseiro Feb 24 '17 at 01:42
57

Secrets is a database with a huge amount of hidden settings for both the system and some common applications.

This domain is now offline and the developer appears to have parked the work (based on MacUpdates activity). It was originally launched for OS 10.6 as a preferences pane although the data was delivered from a Google server which is now down. However :) - you can see some of the previous secrets listed as a web archive (may take a minute to load):

https://web.archive.org/web/20150621044359/http://secrets.blacktree.com/

Sept 2016

stefanlindbohm
  • 323
  • 1
  • 5
  • 10
49

I really find the inbuilt dictionary useful on Cocoa apps like Safari and Mail etc.

With your cursor over a word, press ctrl++D to get a definition.

You can also drag a word straight onto the Safari icon in the Dock to perform a Google search for the word.

gentmatt
  • 49,722
44

Holding down while using the mouse scroll wheel will scroll the window horizontally.

gentmatt
  • 49,722
  • 8
    If you have a multitouch trackpad, you can also scroll horizontally by swiping two fingers left and right. – Matthew Apr 13 '11 at 05:56
  • 1
    If you have a Magic Mouse, you can also scroll horizontally by swiping one finger left and right. –  May 05 '11 at 16:10
44

Most animations in macOS can be played in slow motion, when you hold (Shift). Works for example to slowly minimize windows if you click the minimize button while holding the (Shift) key.

Other examples are:

  • toggle exposé
  • toggle dashboard
  • add/remove dashboard items
  • all kinds of animations in Twitter for Mac

From: http://www.eeggs.com/items/29318.html

In macOS, while in the finder, open any window & click the minimizie button (yellow) at the top of the window while holding shift.

This will minimize the window in slow motion using the new "genie effect" minimize function of macOS.

The CEO of Apple has shown this egg publicly several times. However, this egg is undocumented & has no system menu equivalent to use this feature. Anyone who has NOT followed the development of macOS & watched the demos at the MacWorld trade shows would not realize this somewhat useless feature exists in macOS.

Nippysaurus
  • 3,820
37

In file open and file save dialogs: Hit ++. to show all hidden files and folders.

Note that this appears to be true for any keyboard, no matter what +. on its own produces on that keyboard.

The commercial extension TotalFinder makes this feature available to normal Finder windows as well.

Debilski
  • 722
36
  • When typing text in any document or text field ⌥ option+← backspace will delete the entire word, the same with ⌥ option+del which will delete the whole next word.

  • On MacBooks and aluminum keyboards, typing fn+← backspace leads to typing the del key, deleting the character in front of the cursor, not before it.

  • Using an accented language? Press ⌃ ctrl+← backspace after an accented letter to delete just the accent, not the letter.

gregseth
  • 882
  • 1
    On the tiny aluminium wireless keyboard - fn + backspace gives you del. fn + alt + backspace will delete the whole next word in that case. – Danny Staple Mar 23 '11 at 22:51
  • @Danny Staple same for laptops and wired aluminum keyboards. –  May 05 '11 at 16:22
32

I still think + + + v (paste without style) is very handy.

That is, when something is on the clipboard and has unwanted styles along for the ride, this keyboard shortcuts lets you paste just the plain text without any formatting.

gentmatt
  • 49,722
Jeff Atwood
  • 2,749
  • 3
    I wish all programs implemented this key combination consistently. Evernote decided they needed to be "special" and use Cmd + Shift + V for paste-without-style. Grrrr. – Ian C. May 20 '11 at 16:26
  • Google Docs also deals with this weirdly. In general, though, I find it very handy. – Michael H. Oct 20 '11 at 03:51
  • 2
    Cmd + Shift + V makes a hell of a lot more sense than Apple's ridiculous "claw" hotkey. – Oscar Jun 24 '13 at 11:32
32

Image Wells

All good mac programs contain image wells for opening files, such as the Desktop & Screen Saver pane in System Preferences:

1[Image well in Desktop & Screen Saver preference pane]1

or in Filemerge:
alt text

This nifty litte things allow you to drag-and-drop files into them (and in some cases, out of) to load them into the program. Here, I am changing the wallpaper by dragging the file out of Finder and into the image well:
alt text

Josh Hunt
  • 3,677
31

In iTunes pressing + L brings you to the song playing right now.

Helpful if you lost yourself in your collection or are in iTunes Store and want to change something real quick.

Very useful in combination with + I to show the details of the currently playing song.

adrusi
  • 195
30

Have a menu command/keyboard shortcut that you know exists, but you can't find it (or just don't want to touch your mouse)?

Press --/ to get to the help menu. It'll pop up the help menu that you can type into. Type the word you want to search the menus for, then to the menu item you want. OSX will helpfully show you where that item exists in the menu with a big blue arrow and you'll also see any associated shortcuts.

help menu search example

gentmatt
  • 49,722
29

You can add spacers to your Dock. Some apps make them for you or you can use the Terminal:

defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'

Afterwards, use the following command to restart your dock:

killall Dock

You will see a spacer appear. Like normal apps, they can be removed and repositioned by dragging.

You can add spacers multiple times by repeating the first command. For example, this Dock has 2 spacers:

Dock spacer example

Dave
  • 106
29

This is a pretty common one, but to show all hidden files you can type the command

defaults write com.apple.Finder AppleShowAllFiles 1

and then

killall Finder

in Terminal.

To reverse, repeat using a 0 instead of 1.

swilliams
  • 101
  • YES and NO are also possible instead of 1 and 0. –  Apr 02 '11 at 16:01
  • 12
    The only annoying bit is that you see the .DS_Store files EVERYWHERE, like on your desktop. – mhud Apr 12 '11 at 17:51
  • 1
    Annoying, but just realized/found out that I had a .htaccess file sitting on my desktop, so useful as well, even if temporary. – Darryl Hein Apr 16 '11 at 00:52
  • @mhud I have a solution for the .DS_Store files that are everywhere. https://superuser.com/a/1322425/247728 – JayRizzo Oct 30 '18 at 09:46
28

Disable Caps-Lock

The ability to disable the Caps Lock key is wonderful (open System Preferences, go to Keyboard, then click the button titled Special Keys or Modifier Keys). It is not really hidden, but I never need the key, but especially on my MacBook I sometimes hit it by fault.

Some people also use this panel to replace Caps Lock with Control. Especially useful when you're using Ctrl+A, Ctrl+E shortcuts a lot.

  • 2
    If you are a command line hacker, having caps lock as control is pretty essential in my book. – claytron Apr 20 '11 at 19:54
  • @claytron: I have three control keys on my keyboard this way! As a heavy emacs user, I think it's fantastic. – Michael H. Oct 20 '11 at 03:50
  • Removing this key is suppressing a lot of stupid errors with password entering windows (when this key is accidentally pressed). Some of these password entering windows aren't intelligent enough to show this trap to the user. – dan Jul 15 '13 at 14:08
  • I use this. Beware that this will be a slight annoyance when you use other people's computers, since you will find yourself toggling caps lock whenever you mean to use the ctrl key. – Dag Høidahl Nov 28 '15 at 22:03
25
  • Hold down the key to drag a background window by its title bar without focusing it or bringing it to front

  • -click in a scrollbar's empty space to scroll to the clicked place (instead of scrolling up or down one page). You can switch this behavior in the Appearance panel of System Preferences.

  • -click on the name of a page in Safari's title bar to show the URL path as a menu. Select to browse (this is the same as -clicking the title in document windows).

  • I like cheatsheet (https://cheatsheetapp.com/LandingCheatSheet/). Hold down ⌘ for a moment and you get a popover showing all shortcuts. – Andrew Dec 12 '16 at 02:20
  • [command] clicking in any background window allows you to interact with that window without bringing it to the front. You can also [command]-scroll a background window - especially useful when manually copying between docs or following instructions! – Demis Jul 07 '17 at 04:48
24

My favorite trick is using Exposé with drag and drop. Once you've started dragging something you can use the Exposé keyboard shortcut, switch to the application you want to drag it to, and drop it wherever it's needed. It's great for doing things like adding images to a presentation.

jblocksom
  • 101
22

When clicking from one application's window to another's, holding down while clicking will automatically hide the former app's windows.

gentmatt
  • 49,722
21

On any open file or save file dialog instead of searching for the file, you can grab any from the finder...

enter image description here

And drop it in the window to select it!

enter image description here

This little trick has saved me hours in looking for files to be opened. You can also drop files directy on the file fiedls of any webpage.

enter image description here

Specially useful tricks when you have files on your desktop or a finder window! Hope it helps!

kevin9794
  • 4,300
21

When you're + between running applications, if you press before releasing command, it will raise minimized windows from the dock. Otherwise, you may be in an application, but without a raised window.

Also, while + goes to the right through the application list, ++goes left. + backtick (`) also goes left.

ctrl++-8 inverts the screen. Sometimes useful for whacky lighting situations, especially with glossy screens.

gentmatt
  • 49,722
  • +1 I really love option trick to raise minimize I don't know this. – Am1rr3zA Sep 15 '10 at 12:24
  • 1
    Option to raise minimize -- this only works for me if the application has no non-minimized windows. I wonder if this is intentional behavior or a side-effect of something else? – Michael H. Sep 22 '10 at 00:35
  • Wow the inverting shortcut is amazing! – Petruza Apr 04 '11 at 15:19
  • When using cmd + tab, what option does is the equivalent of clicking the application's icon in the Dock. Typically, if the application has windows open and visible, it will simply switch to that application; if it only has minimized windows open, it will raise the most recently accessed window; if no window is open, it will open either a new document or the application's default window. – eyelidlessness Apr 14 '11 at 05:39
  • 1
    FYI, the screen inversion shortcut didn't work for me here in 2016 under Yosemite 10.10.5. – Ryan Sep 13 '16 at 03:54
19

Click and hold the Show All/ button:

Show All button in System Preferences

At the bottom of this list, there is a Customize... option.

List of preference panes

Clicking this enables "Hide mode", which adds a checkbox to the corner of each preference pane.

Hide mode in System Preferences

You can hide a preference pane by unchecking the checkbox. You can later show it again by going back and checking it again. In addition, you can go to a preference pane without manually showing it again by using the same Show All button.

Rene Larsen
  • 6,495
  • 2
    Yeah I believe this is for Lion only. Nice tip though. – Paul Eccles Aug 02 '11 at 20:26
  • 1
    I had it posted on the Lion tips & tricks thread (now deleted from the thread) - http://apple.stackexchange.com/questions/18677/what-hidden-features-or-tips-tricks-are-in-mac-os-x-10-7-lion - (I couldn't remember if it was possible on Snow Leopard) - BUT there this comment was written "This was in snow leopard as well" - so I don't now what right and wrong, because I don't have Snow Leopard anymore for testing - what I know is that it is working as described in Lion. – Rene Larsen Aug 02 '11 at 22:29
  • Works in Mavericks, too. – Daniel Aug 07 '14 at 15:29
  • exists in 10.12 Sierra as well, neat! – Demis Jul 07 '17 at 04:57
19

Use widget in Desktop:

This allows you to drag widgets out of Dashboard onto the desktop. Requires the dock to be relaunched to take effect, so type "killall Dock" and press enter. Now, if you click and hold onto a widget in the dashboard and press F4 to return to the desktop, the widget won't disappear with the rest.

If you want get it back to dashboard click it and press f4 (show dashboard) and release widget

defaults write com.apple.dashboard devmode YES

alt text

Am1rr3zA
  • 13,219
  • 14
  • 68
  • 88
19

It's always worth pressing Alt when a menu is posted, as some menu items will change to offer previously-hidden options. For example:

  • In Safari, File>Close Window and File>Close Tab become Close All Windows and Close all Tabs.
  • In iTunes, File>Find Duplicates becomes File>Find Exact Duplicates, and Advanced>Create MP3 Version becomes Advanced>Convert to MP3...
  • In Mail.app, Edit->Add Link... becomes Edit->Remove Link.
  • In Finder right-click menu, Get Info becomes Show Inspector, and Keep Arranged By becomes Arrange By.
  • On the Window menu in any application, Minimize, Zoom, and Bring All to Front become Minimize All, Zoom All, and Arrange in Front.
calum_b
  • 5,921
  • 30
  • 37
  • Holding Alt/Option in the Virtual Machine window on VMWare Fusion gives you options to explicitly/forcefully kill the selected Virtual Machine. Instead of gracefully. (Read: Pull the plug instead of pushing the power button.) – Jason Salaz Mar 12 '11 at 01:50
18

hold down ctrl and while mousing over the dock to toggle magnification on-demand.

gentmatt
  • 49,722
jburns20
  • 125
18

Dialogs usually have two useful actions accessible from the keyboard. performs the default action (Save, in the image below) and space performs the secondary action (Don't Save, in the image below).

Dialog with two actions

gentmatt
  • 49,722
  • 2
    Hmmm could it be possible that works only because first button is focused which is not the default OSX option? – Vincent Apr 09 '11 at 00:10
  • 6
    For this particular type of sheet, you can also press ⌘D to choose the Don't Save option. Unlike the space bar this works whether or not you have Full Keyboard Access enabled. – PCheese Apr 12 '11 at 08:13
  • 5
    This is incorrect; space only performs "Don't Save" because it is highlighted, which will only happen if you have full keyboard access enabled. Pressing the tab key move focus elsewhere, and space will then perform that action. – eykanal Apr 13 '11 at 03:45
  • And ⌘. should choose Cancel – GEdgar Dec 22 '11 at 01:46
  • Cmd-Delete will also activate the most destructive action — in this case, Don't Save. – Tyler Mumford Jul 04 '13 at 21:16
  • [Escape] is always cancel. So you often have three shortcuts for the dialog, and [tab]+[space] (or [shift]-[tab] for reverse order) to choose anything not assigned to [return] & [esc] – Demis Jul 07 '17 at 04:52
18

Have a laptop? +Click BatterySymbol in menu bar to view your battery's condition

via @Mactip

gentmatt
  • 49,722
Josh Newman
  • 2,079
17

Just came across this one...

To enter a newline character in a text field you can use + return. Similarly to enter a tab character use + . This is particularly helpful in a find and replace window.

g .
  • 3,308
17

You can Option ⌥-click menu items to bring up extra information.

  • Battery:
    Extra context in Battery menu item
  • AirPort:
    Extra context in AirPort menu item
  • Bluetooth:
    Extra context in Bluetooth menu item
  • Sound:
    Extra context in Sound menu item
daviesgeek
  • 38,901
  • 52
  • 159
  • 203
17

It’s possible to enable AirDrop on unsupported (older) Macs running Lion by entering a single command in Terminal.app:

defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true

This also enables AirDrop over Ethernet (not just WiFi). (CableDrop™?)

Don’t forget to logout and login again, or reboot your Mac after entering the command.

Disclaimer: This is just one of the many goodies in my .osx file.

Mathias Bynens
  • 11,642
  • 13
  • 66
  • 111
16

I really like the way MacOS modifies the letter spacing of the fonts when resizing a pane. As long as the spacing can be decreased, the title won't be truncated.

Example:

enter image description here

UPDATE: This feature does not exist anymore. :(

Thinkr
  • 3,357
  • 2
    That's (negative) letter spacing or tracking. Kerning means adjusting the distance between pairs of characters specified by the font. – Lri Aug 23 '11 at 00:12
16

Photo Booth:

Hold to skip countdown and take immediate photo.

Hold to disable the screen flash.

via @Mactip

gentmatt
  • 49,722
Josh Newman
  • 2,079
  • lol i used to invert the screen colours (control + option + command + 8) so that the flash is inverted to dark black rather than bright white – Alexander Aug 03 '11 at 04:50
16

+ + . will show hidden files in any file-open dialog box.

enter image description here

Cmd + Shift + .

gentmatt
  • 49,722
z4mba
  • 941
  • 1
  • 11
  • 8
15

Switcher + Exposé

(10.6+)

While +ing (holding , tapping ), you can press or to switch to the currently selected application's window Exposé view. You can then use the keyboard arrows to highlight a window and to switch to it.

alampros
  • 248
15

If you hold down option while resizing the Dock, it will resize in multiples of 16 pixels.

15

You can change screen brightness in quarter intervals by pressing + + Brightness Up / Down:

Brightness at quarter interval

14

I avoid using the mouse, so I like to start applications using Spotlight. You can launch Spotlight by pressing + space. Once Spotlight is launched, type in application name and press enter.

So to start Safari without using the mouse, type: + space -> "Safari" ->

gentmatt
  • 49,722
  • 1
    +1 - I use a mouse, but this is still my most used shortcut. – Jon Hadley Sep 18 '10 at 16:25
  • Note that the shortcut for launching Spotlight is configurable in System Prefs. To my understanding the default is Cmd + space, not opt + space. – Jonik Sep 26 '10 at 12:28
  • 2
    "I avoid using the mouse" Really? on the platform that virtually gave birth to the mouse? really? – Petruza Apr 04 '11 at 15:22
14

It’s possible to set a blazingly fast keyboard repeat rate, much faster than the maximum possible setting in System Preferences → Keyboard → Keyboard → Key Repeat.

Keyboard settings at apparent maximum

The trick is to use this command in Terminal.app:

defaults write NSGlobalDomain KeyRepeat -int 0

After that, log out and back in, or just reopen all applications.

Disclaimer: This is just one of the many goodies in my .osx file.

Mathias Bynens
  • 11,642
  • 13
  • 66
  • 111
14

I searched through all 5 pages of this thread and I'm surprised to find that nobody already mentioned this handy tip for Terminal.app:

Press ctrl+R to bring up a search through your command history. It's a somewhat fuzzy search in that what you're typing doesn't have to be the initial characters of a command, but it still must be a contiguous section of the command.

For example, you could find a previous usage of curl by typing "rl" in the search... or "post" if the curl command you want to find was a POST.

You can also use the Up & Down arrows to flip through just the matching commands in your history.

Adam Tuttle
  • 169
  • 1
  • 7
14

I prefer using the keyboard. Some shortcuts that kind of work together in Finder:

  • + = Go to parent directory
  • + = Open selected directory/file
  • + 2 = Clean up by type (see navigation bar for all the alternatives)

And something I use all the time:

When copy-pasting, + v (normal copy-pasting, but adding the option key when pasting) will move the file instead of copying it.

keyser
  • 488
  • 1
    I really liked the copy pasting part – Am1rr3zA Jul 29 '13 at 04:56
  • 1
    I was bothered for about 3 years that there is no way to move a file in Finder via the keyboard, until I finally heard from a former colleague about CMD-C + CMD-OPT-V. This answer deserves more upvotes! – Tafkadasoh May 12 '14 at 11:37
  • In folder tree view, Cmd--> will expand a directory, and Cmd<-- will collapse it. – dr.nixon Apr 26 '19 at 17:44
13

In Finder, select any number of files. Press + ctrl + N to automatically have them moved to a new folder.

Great if you forgot to create a new folder before selecting files, and in general.

keyser
  • 488
13

When you use + to switch tabs, you can continue to hold down and drag a file into any icon in the bezel.

Combined with the trick of dragging from the proxy icon in the menubar, this is a powerful way to open a file in another application, especially if you rarely use your dock.

gentmatt
  • 49,722
13

In Safari, on a page that wants you to select a file for upload, instead of clicking "browse", you can usually just drag a file directly to the "browse" button. It will set the filename without even opening up the file dialog.

Slightly recursive example below :)

enter image description here

Matt Gibson
  • 1,466
  • 1
  • 11
  • 11
13

+ click on the title bar at the top of a Safari window to get a menu of URLs, each the same as the previous but with the last path component removed. Like this:

alt text

gentmatt
  • 49,722
12

This isn't really a "feature", just a way to customize OS X, but I still think it's useful:

You can edit the icons used by OS X at /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources

You can also change the login screen to your liking here

/System/Library/CoreServices/SecurityAgentPlugins/loginwindow.bundle/Contents/Resources

There are so many ways to customize OS X... the dock, for example (/System/Library/CoreServices/Dock.app/Contents/Resources)

And you don't really need to "resource hack" anything: just backup and change a couple png or tif files!

Vervious
  • 359
10

In Terminal, if you hold option, your cursor turns into a small "+". While holding option, you can use this to highlight and copy any square/rectangular area of text instead of whole lines at a time.

Jason Salaz
  • 24,471
Greg Cain
  • 3,161
10

Often a simple spotlight query isn't enough.

The shortcut ++space brings up the powerful finder search window no matter what app is running.

Not only can you use the normal search types like kind:app or kind:mail but you can force spotlight to show you files that are normally hidden.

This is particularly useful to search for and inside hidden system files such as .ipsw packages, detailed logs and CoreServices utilities. search window showing hidden System Files

You may want to add System files to your default search menu for quicker access.

  • first click the circle plus to the far right of the Save button to show the optional search filters
  • then choose other under the Kind dropdown
  • lastly search for System and check the include toggle. choose the "other" itementer image description here
gentmatt
  • 49,722
bmike
  • 235,889
10

While you are using + to cycle through open applications, you can press Q before you release to close the app. You can close several apps before release .

gentmatt
  • 49,722
Mark
  • 101
10
  • Select a bunch of text and drag to the desktop and it will make a text clipping.
  • Drag it back to a text window and it will dump the text there.
  • Double-click and you can view the selectively copy for pasting elsewhere.
  • Install the quicklook extension and you can view text and pict clippings in quicklook.
r00fus
  • 523
  • Theres also a service to summarize text by right clicking a text clipping file or selected text. A wonderful replacement for word – Alexander Aug 03 '11 at 04:56
  • 3
    Quick Look in Lion handles both .textClipping and .pictClipping files with Apple-provided generators alone. – Graham Perrin Aug 04 '11 at 20:49
10

Hold down and click TimeMachine Icon in the menubar. Now you can search/restore from other backups

via @MacTip

gentmatt
  • 49,722
Josh Newman
  • 2,079
10

LaTex from Grapher:

enter image description here

bot47
  • 7,742
10

You can access the File, Edit and other application menus with the 'Change the way Tab moves focus' setting in Keyboard -> Shortcuts Preferences. I changed it from the default to Ctrl+` as the default merely adjusted brightness.

Keyboard -> Shortcuts preferences with 'Change the way Tab moves focus' option highlighted

9

+ ` (backtick accent) switches between multiple windows of the same app.

gentmatt
  • 49,722
Zepplock
  • 113
9

To quickly lock your computer with a screen-saver style password, regardless of whether a password or time delay is set in the Security preference pane, enable the keychain status menu item and use its Lock Screen command. To enable it, open the Keychain Access utility, choose Preferences… from the Keychain Access menu, and enable "Show Status in Menu Bar" from the General pane.

Keychain status menu item with lock screen command

PCheese
  • 101
  • Ctrl-Shift-Eject does this without filling your menubar. – bot47 Nov 02 '11 at 08:07
  • 3
    @bot47 Not exactly the same. Ctrl-Shift-Eject simply puts the display to sleep. Therefore (1) the password lock does not kick in until the Security time delay is reached (if password is even enabled in the first place) and (2) the display goes to sleep instead of screen saver mode, which as of Lion requires a keyboard button press or mouse click to awaken and takes slightly longer to respond to user input. – PCheese Nov 09 '11 at 00:52
9

Want to move back and forth through your navigation history? Most apps, including Safari and Finder, let you use the following shortcuts:

+[ to move back.
+] to move forward.

BSP
  • 31
9

To paste plain text without any formatting use +++V.

That's very useful when working in app like Keynote and copying some text from webpage.

Note: It doesn't work if any other function assigned to this shortcut. To fix that just change the default shortcut in the app to something else.

9

In Finder "columns" view, double click the block below the scroll bar arrows to auto fit column width.

via @Mactip

Josh Newman
  • 2,079
8

If you connect two Mac's directly using a standard ethernet cable, you can quickly transfer files between them. It automatically configures the connection, and is much faster than doing large transfers over wireless.

  • Gigabit Ethernet is great in not needing crossover cables for direct connections. – John Ferguson Apr 08 '11 at 23:07
  • I believe you can also connect via a Firewire cable and network over that connection. (Not using one machine as a drive, but actually networking.) – Wayne Apr 13 '11 at 03:32
8

When resizing columns in Finder, hold down whilst dragging, and you'll resize all columns and reset the default width.

gentmatt
  • 49,722
8

In order to navigate with the keyboard in the menu bar, press ctrl+F2. The Apple icon in the menu bar will light up, and you can navigate through the menus using arrows and the key.

Once you are in the menu bar you can also navigate using initial letters, e.g. b to go to Bookmarks

8

Ever wanted to stop the iTunes visualizer at that really cool moment and take a picture? In iTunes 10 (and previous versions really) you can control what your visualizer is doing. You need to have a song playing to notice changes.

Simply press the ? key to see a help menu of the controls. On most visualizers press f to see the current FPS. (all except the default)

To freeze the default iTunes visualizer press F to freeze the mode, then press L to freeze the camera. Now that your visualizer is completely stopped, press M to change the mode. Turn the fog on and off with N (only works with certain themes). Change the color palette with P before freezing the mode or locking the camera or it has no effect. + F for full screen, then ++3 for full screen grab.

Viola, instant custom desktop pattern!

gentmatt
  • 49,722
8

Holding lets you drag icons in your menu bar to reorder them. Dragging them out of the menu bar removes them.

All of the built-in icons support this behavior, but most third-party apps don't.

  • 1
    Fantastical is the only third-party app that supports this, as far as I know. You have to download a "menu extra" from their website's FAQ page to enable it. – Tyler Mumford Jul 04 '13 at 21:42
8

++ or ++ can be used to select the previous or next word.

gentmatt
  • 49,722
  • 1
    @Lri All posts in this tread are community wikis. That means that anyone can edit them to improve them. Why don't you make an edit with the correction? – Nathan Greenstein Apr 14 '11 at 20:41
8

I love the DigitalColor Meter application (in /Applications/Utilities) for finding the color of something on screen (especially useful for web development). cmd + shift + h to lock/hold the color you're on, ++c to copy the value as RGB Hex value.

gentmatt
  • 49,722
  • Note that if you use it on a second display the colors may not be correct. –  Apr 02 '11 at 16:07
8

3rd party apps can add unwanted items to your right click menus! To add or remove items from the right click contextual menus: Go to System Preferences -> Keyboard -> Keyboard Shortcuts. Select the "Services" panel and uncheck the services which you don't need. enter image description here

Paul Eccles
  • 1,356
8

When switching focus between applications, you can hold down and click on another application. When you change focus from one application to another, the first application hides. So, let's say you are switching from an open Finder window to an open TextEdit window while holding the key. Finder will hide once you click on the TextEdit window. I discovered this by accident and it's pretty cool

gentmatt
  • 49,722
daviesgeek
  • 38,901
  • 52
  • 159
  • 203
8

If you want to quickly resize your Dock you can click and drag the bar that separates the apps from minified windows, the Trash etc. If your Dock is on the bottom then drag up to increase the size of the dock and down to make them smaller. Drag left/right if your Dock is on the side of the screen.

8

By pressing + + + you can create the  - Symbol on a german keyboard.

The tilde-key btw is created by pressing +N for all those who searched `~´

For English (American) keyboards, the shortcut is: Option ⌥ + Shift ⇧ + K

daviesgeek
  • 38,901
  • 52
  • 159
  • 203
8

The 'Open Terminal Here' applescript that can be added to the finder toolbar(?), is a great way of getting a shell prompt to the folder your are viewing.

The 'original' is at the pages of its author Marc Liyanage:

http://www.entropy.ch/software/applescript/

He kindly links to a number of other versions so you can take your pick.

The other side of the coin (though not worth it's own answer) is the command

open .

to open a finder window for the current shell folder.

Stephen
  • 690
  • It's a nice trick – Am1rr3zA Oct 20 '10 at 16:31
  • Do you know of any updated icons for Snow Leopard? Love the functionality, but the icon is ugly next to the others. – Lizzan Oct 21 '10 at 08:20
  • Anything can be added to the Finder's toolbar. Mine contains a couple of applications and my trash. – ughoavgfhw Mar 22 '11 at 19:59
  • 2
    As of Mac OS X Lion 10.7, Terminal provides Services to do this. Enable New Terminal at Folder in System Preferences > Keyboard > Keyboard Shortcuts > Services. The quickest way to get there is to choose [Application Menu] > Services > Services Preferences…. There's also New Terminal Tab at Folder. These operate on folders in Finder, as well as pathnames selected in text in any application. You can also drag folders (and pathnames) onto the Terminal application icon in the Dock, or onto the tab bar of a terminal window to add a new tab. – Chris Page Sep 04 '11 at 09:30
  • @Chris: Nice to know about new Lion functionality. I still use the "cd to.app" tool to provide a button in the Finder window to make this fast, but it's good to have alternatives. – Michael H. Oct 20 '11 at 03:49
  • 1
    @khedron: Terminal will also open a terminal if you tell it to open a folder. So the script can be simplified to just tell application "Terminal" to open ... and all the stuff about checking whether it's running and issuing a cd command can be removed. – Chris Page Oct 22 '11 at 10:50
  • You can drag a folder to the dock icon too. –  Dec 19 '11 at 20:23
8

In iTunes, it’s possible to make + F focus the search input instead of toggling the full screen mode.

Simply enter this command in Terminal.app:

defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"

Then, restart iTunes.

Disclaimer: This is just one of the many goodies in my .osx file.

Mathias Bynens
  • 11,642
  • 13
  • 66
  • 111
  • Shouldn't this work in almost any (Cocoa/ObjC based) application? It's basically the same as changing a menu shortcut via the Keyboard / Shortcuts System Prefs, isn't it? – Thomas Tempelmann Mar 26 '17 at 11:26
7

When closing an unsaved document +D will invoke Don't Save for you.

Use with care though.

gentmatt
  • 49,722
Nilloc
  • 1,162
7

You can play tetris in Terminal:

When you are in Terminal type emacs and hit enter. After that press escape button and X button at the same time. Now just type tetris and hit enter.

Same goes for pong, 5x5, snake, tetris, dunnet and blackbox, just type its name instead of tetris

Source: http://secretpctips.com/2011/04/mac-os-secrets-easter-eggs/

grg
  • 201,078
7

If you need to type an accented letter like "é" or "ñ" just press and hold the corresponding letter on your keyboard and a little popup will appear with numbered letters with accents. You can also click the letter of your choice.

Accent popup

harryg
  • 755
7

Hibernate your MacBook Pro with

sudo pmset -a hibernatemode 25

and then put it to sleep which will save the state of your system and then power off. Very handy when flying.

If instead you want very fast sleeps, without writing memory to disk, use

sudo pmset -a hibernatemode 0

To restore the default behaviour, use

sudo pmset -a hibernatemode 3

LaC
  • 470
7

Quickly find your search results in Safari

  1. Perform a Google search in the toolbar
  2. Click a result
  3. Press +G

via @Mactip

gentmatt
  • 49,722
Josh Newman
  • 2,079
7

Remember the double-sided arrows on both the top and bottom of the scroll column in OS 9? Go to the terminal and type:

defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth

When you login/restart, this will work across all applications. Very handy to have.

7

If you use random Backgrounds, there is a quick way to make them change when you want.

type in the terminal

killall Dock

This will make your random Desktopbackground change.

7

macOS has a built-in option to mass rename files (including changing the extension), which I found here while looking for a shell script snippet to do the trick. Just select the files, right click and choose "Rename n items ...". The Replace Text dialog is rather self-explanatory.

enter image description here

enter image description here

(image sources: OS X Daily)

Glorfindel
  • 4,057
7

An often-neglected feature of OS X is the ability to drag files and proxy icons into other applications or windows.

Try this in Adobe apps. Why use the File > Place… command? Just drag a file directly from the Finder directly into the document you’re working on.

Drag files onto Dock icons to open that JPG in Photoshop rather than iPhoto. Drag an image from your browser into Photoshop’s Dock icon.

7

Here's one I learned a long time ago, still works today.

Keyboard shortcut for proper single and double quotes:

Single Quotes

  1. For Left ( ) press: Alt + ]
  2. For Right ( ) press: Alt + Shift + ]

Double Quotes

  1. For Left ( ) press: Alt + [
  2. For Right ( ) Alt + Shift + [
6

You can adjust the scale of all windows (sizes of buttons and menus and toolbars) to fit more on a smaller screen. It was really helpful on my TV setup, because I couldn't see the bottom items in the System Preferences.

defaults write NSGlobalDomain AppleDisplayScaleFactor .75

to reset simply

defaults write NSGlobalDomain AppleDisplayScaleFactor 1

Or you can change it per Application

defaults write com.apple.iTunes AppleDisplayScaleFactor .7
Nilloc
  • 1,162
6

Target Disk Mode lets you mount a Firewire-enabled Mac as an external disk, without even booting into the OS. Useful for quick transfers, large transfers (it's quite fast), recovery, etc.

To start it, hold T during startup.

Kevin L.
  • 131
  • For what? A little more explanation of how this is a tip or stick might make this a better tip – bmike Apr 21 '11 at 18:18
6

El Capitan has a new split full screen feature, where you can have two apps open at once. I use it all the time, but the one thing I find inconvenient about is that it will very strongly blur the un-focused window when resizing a pane:

Blurred unfocused window demo

You can hold down while resizing to see both screens respond to your resize changes -- neither will be blurred.

Nebula
  • 347
  • 1
  • 4
  • 18
6

When I migrated from Windows to Mac OS X, what I really missed is the ability to move files with cut (Ctrl + X) and paste (Ctrl + V) (as opposed to copy and paste).

It turns out Finder has this capability as well, but it's more like 'mark and move': Cmd + C and then Alt + Cmd + V.

Glorfindel
  • 4,057
  • This is awesome, thanks for posting. If it's like CMD-dragging a file, then it's probably more like "copy + delete the original". – Demis Oct 02 '17 at 16:24
  • @Demis correct, you won’t end up with two files. I see now why it’s confusing, I’ll try to fix it. – Glorfindel Oct 02 '17 at 16:27
6

Since El Capitan (OS X 10.10), the green button in the top left of a window does not resize the window as it used to, but instead turns it into full-screen mode.

To get the old behavior back, hold down the key, which will turn the green button's symbol from the resizer to a + as it used to be.

6
 sudo purge

I use this all the time for freeing unused memory on my Mac.

MrDaniel
  • 12,742
  • 3
    From man purge: “force disk cache to be purged (flushed and emptied). Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm_allocate, etc.” – Mathias Bynens Mar 26 '12 at 07:44
  • 6
    To put it more bluntly, purge-ing your disk caches can actually slow you down. – Mattie Jul 04 '13 at 22:43
6

You can disable 3D Dock effect ( if you don't like ) when dock is at bottom.

Use tinker tool (it's free).

Now, switch to Dock tab, do as instructed in image.

alt text

6

Hide an Application While Cmd-Tabbing

While using +Tab, you can press H to hide/show the app that is currently selected.

5

You can prevent app from appearing in Dock by editing .app/Contents/Info.plist. Just add

<key>LSUIElement</key>
<true/>
5

Probably the most used shortcut I created on my machine is one to hide and show hidden files.

I've set this up via an AppleScript on my machine with a keyboard shortcut of ^ + + + . which toggles the visibility of hidden files within Finder whenever I want. This way I don't have to manually run a terminal command to show hidden files, and I can quickly turn it off to avoid accidentally modifying system files. I use FastScripts to allow me to set the keyboard shortcut for my AppleScript, and placed the AppleScript in my ~/Library/Scripts Folder.

Here is the AppleScript in case you wish to give it a try:

tell application "System Events"

    set hiddenFilesDisplayStatus to do shell script "defaults read com.apple.finder AppleShowAllFiles"
    set hiddenFilesNewDisplayStatus to "NO"

    if hiddenFilesDisplayStatus is "NO" then
        set hiddenFilesNewDisplayStatus to "YES"
    end if

    do shell script "defaults write com.apple.finder AppleShowAllFiles " & hiddenFilesNewDisplayStatus
    do shell script "killall Finder"

end tell
Anil
  • 883
5

You can force Exposé to only show windows that are on the current Space (instead of all windows open on any Space). Type the following into Terminal:

defaults write com.apple.dock wvous-show-windows-in-other-spaces -bool FALSE

then, to restart Dock:

killall Dock
Doug
  • 101
5

The Guest account is great for troubleshooting.

If I have a software issue, logging in as Guest lets me open an app with 'clean' preferences settings.

It's helped me with network issues as well.

To enable Guest logins, go to System Preferences, Users & Groups, Guest User, and check Allow guests to log in to this computer.

5

During a Spotlight search (Space), hit B to Google that term in Safari. Gives very quick access to a google search.

I assume the search setting in Safari determines which search engine is used.

Demis
  • 501
  • This is an extremely underrated hint! As a Mac user since OS 9 days... I never knew this existed! – AVelj Dec 15 '23 at 03:59
5

alt + + left click in the dock hides all windows except application currently in focus. Great if you find window clutter distracting.

5

When you're in the +Tab task switcher selecting the Finder and pressing +Q will restart the Finder.

bot47
  • 7,742
5

When +clicking on an open app in the Dock the application hides.

deiga
  • 1,274
  • 1
  • 10
  • 21
  • I don't get that behavior with Shift. Did you have to change an option to get hiding to work like that? – seh Feb 23 '11 at 02:12
  • @seh - No I didn't...at least I don't remember changing anything like this. This is on OS X 10.6.6, but I'm not sure if it's version related. Could also be that I've changed something while working on this SL installation, I haven't reinstalled since SL came out. – deiga Feb 23 '11 at 05:43
  • 5
    I have this behaviour when I hold the Alt key instead. – Rabskatran Apr 06 '11 at 10:42
  • 2
    It is Option/Alt key, not Shift. – styfle May 20 '11 at 23:32
4

Not sure if it's posted already but you can drag folders and files from the finder into an application's open / save dialogue. It sets the save or open path to that of the folder or file you're dragging. Excellent when you prefer to use the finder to navigate but don't want to repeat the process in your app or vice versa. Also, on many cases, whilst in the open / save dialogue, you can hit command R to reveal the files in the finder.

4

One of the most amazing things I know to do in the terminal is "doctor terminal" I just love it! :D I know it's a silly program that's easy to make but, no other operating system has it.

This is accessed through emacs in the Terminal:

  • Type emacs
  • Press Ctrl+X
  • Type doctor
  • Press Return

After each question, you can recieve a response by pressing Return twice in a row.

Alvar
  • 135
  • 3
    It's emacs feature and it's available on almost all operating systems http://www.emacswiki.org/emacs/EmacsDoctor – mspasov Apr 12 '11 at 19:25
  • Omg that is great, harkens back the the old Mac program ELIZA! I had no idea all Emacs had that built in, what a cool Easter egg! – Demis Feb 17 '20 at 23:48
4

You can -click and drag many OS provided icons from your menu bar to rearrange or remove them if it's getting too crowded. Doesn't work with all 3rd party ones, but many built-in ones (like volume, battery, sync, bluetooth, etc) can be removed this way. Many of them can be removed from the control panel, but this is the only way some of them can be removed once activated (that I'm aware of).

gentmatt
  • 49,722
  • FYI a quick way to add any missing menubar icons is to double-click any of the files in /System/Library/CoreServices/Menu Items/ – Demis Oct 02 '17 at 16:28
4

I am new to Mac so this might be common knowledge but in snow leopard if you hold 3 and 2 during boot you will boot into 32 bit mode and the same goes foe 64 bit when holding the 6 and 4 keys during boot. Macfuse for example did not like running in 64 bit mode

  • Note that this only affects whether a 32 or 64 bit kernel is used. Both can still run 32 or 64 bit applications, and 64 bit applications are always the default if the processor is 64 bit. However, the default kernel is 32 bit because, as you have seen, some third-party extensions don't work with a 64-bit kernel yet. – LaC Apr 18 '11 at 19:03
4

Hold ctrl and scroll with the mouse/trackpad in order to zoom the view at any time. Extremely handy in order to discern pixel differences of a UI.

gentmatt
  • 49,722
4

Exposé for spaces and 'Show desktop' attached to corners of the screen. I've attached 'Show desktop' to my lower right corner, and Exposé for spaces in the top left. Now, i can go bottom right to the desktop, grab a file, move over to the top left to switch to a space, and drop it there in a Finder window or Application.

  • Yeah, active corners are useful! Personally I also like to have Dashboard bound to one corner and screen blanking (Put Display to Sleep) to another. – Jonik Sep 15 '10 at 20:38
4

Create a Keyboard Shortcut to open Terminal (or any application) no matter where you are or what application is currently active.

Use Automator to create a Service. Within Actions choose Launch Application.

In my case I made sure that the service receives no input in any application.

Then from the dropdown select other then double-click Utilities then select Terminal.app and click choose.

Save the service and make sure it has a .workflow extension.

Next open up System Preferences and click on the keyboard. Click the Shortcuts tab and select the Services option on the left.

You should see your new service in the General section named whatever you chose to name it.

Then you can click the none button that indicates it has no shortcut yet and assign it whatever shortcut keys you want.

There are other ways but this works no matter what application is active and it never fails.

1''
  • 160
4

Extremely quick way to open a new Finder window:

  • Click on the desktop (even a sliver will do)
  • Hit N

The desktop is part of Finder, so in a lot of ways it acts as a Finder window itself. For me it's faster to select the Finder app by just clicking on the desktop than to use Spotlight or to switch apps to Finder.

4

+ = switch between applications. Press before releasing and it will un-minimize minimized windows from that application.

gentmatt
  • 49,722
  • For a user who doesn't like taking their hands off the keyboard, I use this feature all the time. – eywu Jun 24 '13 at 17:28
4

Do a "killall dock" in Terminal while a window is being minimized with the Genie effect (helps to hold down Shift to slow it down) and the window will be 'stuck' in the Genie effect yet still be operational! For example, you can still scroll.

4

You can drag-drop Finder objects (or any document window's proxy icons) while doing any of the following:

  • App-Switching (+Tab or ++Tab),
  • Spaces (+ or +),
  • Show Desktop (+F3), or
  • Mission Control (+).

Combined with dropping into open/save dialogues, this means you'll never have to navigate to a file in one app and then navigate to the same file again in the open/save dialog. You'll also never have move windows around in order to drop a file into Safari.

Eg. I have an image open in Preview, and want to send it as an attachment in gmail.

  • Gmail pops open the "select attachment" file dialogue: gmail file dialogue
  • Start dragging the proxy Icon from Preview - don't let go of it start dragging proxy icon
  • While continuing to drag the file, switch apps with +Tab.

    • Keep holding , but release/hit Tab or +Tab repeatedly to get to Safari.
    • Let go of once Safari is selected, to bring it to the front. App-Switcher while dragging
  • Drop the file onto the file dialogue, and it'll become selected. drop icon into file dialogue File is selected and ready to send. Return to finish selecting the file. file is selected and ready to send

If you save screenshots to the desktop, then a similar trick is useful with the "Show Desktop" keyboard shortcut (+F3).

Demis
  • 501
  • By the way, this also works (mostly) in Windows, using the Alt-Tab switcher on MS Windows! – Demis Apr 03 '20 at 23:12
4

If you are a recent convert to osx and miss the mouse/cursor acceleration of a windows mouse? OSX mouse doesnt feel quite as good as the windows mouse?

Give SteerMouse a try!

4

There is a fast way to create a hidden folder on Mac OS. Hidden folders a created by typing "." on the beginning (e.g. ".hiddenfolder")

The Finder won't let you do this though. So we gonna use the terminal.

to create a new folder:

mkdir .hiddenfolder

first of course you have to navigate to the location, you want the folder to be. For example the Desktop:

cd /Users/USERNAME/Desktop/

or drag a folder into the Terminal to get it's address

To know where you are right now, type:

pwd

Another way is, to rename a folder. To do so type:

mv ActualFolderName .hiddenfolder

To open a hidden folder, make hidden files visible like described earlier, or use terminal (navigate there first, or type open absolute path)

open .hiddenfolder

or if you are in the hidden folder already, just type

open .

to show hidden folders/files in terminal type

ls -a
Jason Salaz
  • 24,471
  • Most of those are not Mac OS X-specific. –  Apr 02 '11 at 16:12
  • If you [shift][command][G] on finder, you can type the hidden folder's path and browse it in finder as a normal visible folder. – Petruza Apr 04 '11 at 15:35
4

In TextEdit, you can go to a specific line number by hitting L. Useful if a script errors at a specific line number.

Select Line tool

Wowfunhappy
  • 7,383
4

If you have an iPhone (or iPad) with iOS 12, and a Mac with macOS Mojave, you can use the iPhone as a scanner or photo camera to directly scan documents or take photos. The scanner will even rotate and resize the document so that it appears as a rectangle. This function is integrated in a few Apple apps like Finder, Mail, Messages and the iWork apps.

enter image description here

For more information, see the Apple Support article Use Continuity Camera on your Mac.

Glorfindel
  • 4,057
4

On newer versions of macOS , you can access an interactive tool for taking screenshots via +Shift+5.

Modes

You can use three different modes.

Capture/Record Entire Screen

This mode is basic and lets you capture the entire screen. It replicates the functionality of +Shift+3.

Capture/Record Selected Portion

This mode allows you to crop out parts of the screen beforehand. You can move or resize the selected portion. The width and height of the portion will appear while resizing. This mode replicates the functionality of +Shift+4.

Capture Selected Window

This screenshot-exclusive mode allows you to take a screenshot of a window. Windows include context menus and other UI items as well. This mode replicates the functionality of +Shift+4 after pressing Space and selecting a window.

Preview/Markup

After capturing your screenshot or recording, you can view a preview of it. Right-clicking this preview allows you to set its save location, open it, delete it, or use Markup.

Right-clicking preview of saved screenshot

Markup editor allows you to draw freehand circles, add text, crop, or rotate screenshots.

Markup editor on screenshot

The Markup editor also allows you to trim recordings.

Markup editor on recording

4

If you drag files while holding the command key, the contents move but don't copy. Great for cutting the copy - then delete original process.

  • 1
    That is the default when staying on the same hard drive. Use option to copy on the same drive, and command and option to create an alias. – ughoavgfhw Mar 22 '11 at 20:04
4

By long-pressing on the bookmarks tab on the sidebar, you can open a menu containing the structure of the bookmarks folder. You can move your mouse to jump to a folder from this menu.

Context menu for bookmarks folder structure

4

Secrets by Blacktree is a preference pane which enables many hidden OS X and specific application preferences (e.g. change Dock to 2D, change iTunes stoplights back to horizontal). Saves you a couple of trips to the Terminal.

yjsoon
  • 411
4

Hold Option & click Speaker/Volume icon in top menu bar to quickly select audio output and input devices (bluetooth, airplay etc.)

via https://twitter.com/justinerdman/status/316936844958916608

Josh Newman
  • 2,079
3

Safari also supports a subset of Emacs keybindings

dreynold
  • 101
  • 3
3

If you want to Open/Close FrontRow just use + esc

gentmatt
  • 49,722
dequin
  • 113
3

+ ctrl + "two finger swipe" = change the opacity of the window under the cursor

gentmatt
  • 49,722
Javier
  • 101
3

In an any Open/Save dialog, you can use Quicksilver to quickly find the desired file or folder and just drag it anywhere into the file dialog, sendig the file chooser directly to that location. [Enter] will do the rest.

(While not included in OSX, I assume, that the majority of users interested in this thread do run Quicksilver.app)

  • I haven’t used quicksilver ever since Spotlight got hugely upgraded (mid-2000’s) and took over half of its functionality (calculations, searches, app launcher etc.). Indeed before Apple took over that functionality with Workflows, Customized Keyboard shortcuts and a very intelligent Spotlight, Quicksilver was the way to go! – Demis Feb 17 '20 at 23:58
3

Custom Alert Sounds - An old trick from OS9 days (tested to 10.8) is to create your own alert sounds. Not entirely productive but if you are into hacking your Mac / OS to make it your own, this is one on the list - it's fun to have Peter Griffin tell you it's time for lunch.

  • Sample your sound file as usual (download or record/input to the Mac using something like Sound Studio or QT Pro 7).
  • edit down to 10 seconds or less adding a clean entry and exit
  • export as an AIFF file
  • place here: /System/Library/Sounds/*
  • select the alert sound via the System Preferences / Sound / Sound Effects panel

Note: the Library folder may be invisible by default. If so open terminal and add the following to make it permanently visible:

chflags nohidden ~/Library/

Note2: this route path will facilitate a sound file available to all users on your Mac. You can keep it to yourself by placing the AIFF here:

/Users/username/Library/Sounds/
nohillside
  • 100,768
  • Such a fun customization from way back in Mac OS 6/7!!! Didn't know this still existed. It looks like Audacity can export AIFF still: http://manual.audacityteam.org/man/faq_opening_and_saving_files.html#foreign – Demis Oct 02 '17 at 16:21
3

Text Edit - restore zoom feature in 10.7 / 10.8+

This is a helpful tip to remedy Apple's less than useful update to the ubiquitous Text Edit application from OS 10.7 following which they removed the incremental 'Zoom' control shown below.

enter image description here

I am aware of the keyboard shortcuts CMD + and CMD - that work post 10.7, however, the zoom increments with this method are pre-fixed and too large for me - I am most comfortable with 125% and to be honest, I am bugged that a useful function has been removed. So the action:

  • Delete the default version of Text Edit in the system / apps folder (you can drag this app to the trash or use a program like AppZapper). If you go the manual method, delete the preferences file as well.
  • beg, steal or borrow a copy of OS 10.6. Most regular Mac users will have one archived (I have Mac OS's back to 6.5, although I am sad).
  • drag a copy of Text Edit 1.7.1 (or earlier - 1.6 should work from OS 10.5) to your current applications folder.

enter image description here

  • Select any text edit document, get info (CMD + I) and set Text Edit 1.7.1 as the default application to open this type of file.

Note: you may get an error message from Text Edit stating that it cannot save the file due to a permissions error. Don't worry, the file is being saved OK under OS 10.7+ and the false flag is due to an Apple change in the way newer versions of Text Edit auto-save. To suspend this reporting, you can soft hack Text Edit 1.7.1's behavior in terminal with the following command.

defaults write -app textedit ApplePersistence -bool false

defaults write -app textedit AutosavingDelay -int 0

Hope you find this tip helpful.

3

Quickly insert weird characters into text by setting Text-Replacement Keyboard Shortcuts for any characters you find in the "Emoji & Symbols" panel.

I personally use LaTeX-style shortcuts, so typing \arrowright gets replaced with →. Type a Space after the \arrowright to do the replacement.

Set your shortcuts in SysPrefs > Keyboard > Text enter image description here

You can copy/paste characters from anywhere into the Replace With... column. I prefer to double-click characters from the Emoji & Symbols pane, so I know they're in the standard font packages. The Emoji & Symbols pane can be enabled by selecting

SysPrefs > Keyboard > Keyboard (tab) > Show Keyboard and Emoji Viewers in menu bar

and then choosing Emoji & Symbols in the resulting menu item: show emoji & symbols

Demis
  • 501
3

Ever downloaded an app that Mac OS won't let you open because it's "from an unidentified developer"?

Instead of completely disabling this security feature (via SysPrefs>Security), try the following:

  • Right-click the .app file
  • hold Shift while clicking Open.
  • The resulting warning now has an [Open] button, click it.
  • The warning is circumvented for this app only, but still enabled system-wide. It will never warn you again for that particular app.
Demis
  • 501
3

Advanced cursor navigation for text.

  • optionleft/right arrow – Move cursor to previous/next word break.
  • commandleft/right arrow – Move cursor to start/end of line.
  • commandup/down arrow – Move cursor to top/bottom of textarea.
  • shiftleft/right arrow – Highlight left/right character.
  • shiftcommandleft/right arrow – Highlight left/right word.
  • shiftcommandup/down arrow – Highlight text to start/end of line.
  • optiondelete – Delete word.
  • commanddelete – Delete line.
2540625
  • 1,910
3

If you use a second monitor this one helped a lot

fn + + - combines the contents of both screens into one

atreeon
  • 476
3

Also TinkerTool shows some hidden features

Jemus42
  • 169
  • Any specific 'hidden features'? – bb216b3acfd8f72cbc8f899d4d6963 Apr 11 '19 at 00:17
  • @haykam oh boy, that post is ~9 years old. Not sure what exactly I used TinkerTool for back then, but since I switched to doing stuff with the defaults command. I vaguely remember using it to block .DS_Store files being created on network drives though. – Jemus42 Apr 12 '19 at 08:40
3

You can Delete and Rename items in an Open or Save file dialog, by right clicking on them.

enter image description here

benwiggy
  • 35,635
2

Pressing + + W will close all windows of an application at once, in most apps.

2

Regarding tips and tricks. The most annoying part of MacOS for me always was the inability to put dock on the side of a middle monitor in multi monitor setup.

I've managed to achieve it with a help of Wraparound app (Free). It wraps mouse around your monitors so you can setup you monitors arrangement so the monitor you want your dock to be on would be first (if you want dock on left) or last (if you want it on right) and then just wrap mouse movement horizontally.

Here is example of my monitor arrangement before

arrangement before Wraparound use

and this is after

arrangement after Wraparound use

and here's how Wraparounds settings look

Wraparounds settings

so in the end my real setup looks like this

real world monitor arrengement

The only thing that doesn't work is dragging window from middle monitor to the left, it seems to work for an instant but then gets teleported back. But I'm using Spectacle app (Free) to manage windows and I use a shortcut to move windows between monitors so that's not a problem for me at all.

n1kk
  • 396
2

I frequently use the shortcut: Shift + Home and Shift + End to jump to the begining and end (respectively) of a long command in Terminal. It is one of the most useful commands I have discovered for macOS to date.

ProGrammer
  • 2,609
0

In Finder, Select Multiple Files > Right-Click > Choose Rename…

You can select many files and batch-rename all of them very fast this way.

The Rename function has lots of useful functions, such as

  • Append
  • Prepend
  • replace-text
  • Change file extension
  • Format, which includes adding sequential text (eg. 01, 02, 03...) or dates etc.

screenshot of rename functions

screenshot of "Format" options

(This is the same dialogue as Automator's "Rename Finder Items" action.)

Demis
  • 501
-1

Use this plugin to allow QuickLook to view animated GIFs - Animated GIF QuickLook For Mac 1.0

footer
  • 3
-4

A handy tip I discovered by accident.

Highlight any file in an Open dialogue window, press the space bar and voila! there is your file in all it's glory.

BSP
  • 31
  • 6
    This is called Quick Look and is already posted: http://apple.stackexchange.com/questions/400/mac-os-x-hidden-features-and-nice-tips-tricks/573#573 – styfle May 20 '11 at 23:26
  • That's interesting that you can QuickLook from an Open/Save File Dialog, didn't know that. – Demis Aug 25 '23 at 05:54