Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easily toggle the menu bar in full screen mode System 10.7
I got sick of running my cursor up to the top of the screen to see my battery life, the time, etc., and I realized that there is a simple way to display the menu bar when in full screen mode. Just invoke the Spotlight keyboard shortcut, which by default is Command-Space. Use that key combination once to show the menu bar, then again to hide it.

[kirkmc adds: Nice. I don't really get full screen mode, but the times I have used it, I've been confronted with that problem, especially wanting to see the time.]
  Post a comment  •  Comments (9)  
  • Currently 3.70 / 5
  You rated: 4 / 5 (10 votes cast)
[24,523 views]  View Printable Version
Display colored icons in Safari Bookmark Bar System 10.7
An old hint from 2003 explained how to use the Character Palette to display icons instead of text in the Safari Bookmarks Bar. The addition of Emoji in 10.7 means that colored icons can be added, the only way I've seen to add color to the Safari Bookmarks Bar. Just note that on an iPad, the icon in the Bookmarks Bar of mobile Safari will be black and white, though it will show as color in the iOS pop-up bookmarks menu.

[kirkmc adds: This works as described, but unfortunately, there aren't many Emoji symbols in Lion. For example, if you wanted to have different colored icons for different bookmarks, it would be practical if there were a set of circles or squares. There is a "large red circle," but only red. Most of the icons are not really useful as visual clues to what the bookmarks are for. But they do alleviate the gray a bit.]
  Post a comment  •  Comments (1)  
  • Currently 3.25 / 5
  You rated: 4 / 5 (4 votes cast)
[10,540 views]  View Printable Version
How to hide all .plist.lockfile files System 10.7
Apple has introduced an additional type of preference file in Lion, those whose names end in ".plist.lockfile". Here is a good explanation of the function of those files: Lockfiles and other plist file subtypes in OS X Lion

Since plist.lockfiles do not contain any useful information for the user and almost double the content of and clutter the Preferences folders in /Library and ~/Library, I've been looking for a way to hide those files. With help from Yvan Koenig of MacScripter in this topic (I'm flex20 in that forum), I wrote an AppleScript "Hide Unhide plist.lockfile.scpt," which provides a quick and easy way of hiding or unhiding all those pesky files.

You will need an admin password to run the script because some of the ".plist.lockfile" files can only be changed by administrators. You can add the script to your AppleScript menu, or save it as an app, such as "Hide Unhide," that you can keep anywhere you like, as I did.

Here's the script:
-- Hide Unhide plist.lockfile -- version 2.0

display dialog ¬
	"Hide or Unhide the plist.lockfile files in the Preferences folders in /Library and ~/Library." & return & ¬
	return & "Will require to enter an administrator password." & return with title "Hide or Unhide the ¬
	plist.lockfile files" buttons {"Cancel", "Hide", "Unhide"} default button 1 giving up after 60

set dialogResult to result
set giveUp to gave up of dialogResult
if giveUp is true then error number -128 -- Cancel on giving up to cancel the script.
set user_choice to button returned of dialogResult -- Set the user choice.

-- Process the user choice. Will require to enter an admin password.
if user_choice is "Hide" then
	do shell script "chflags hidden /Library/Preferences/*.plist.lockfile" with administrator privileges
	do shell script "chflags hidden ~/Library/Preferences/*.plist.lockfile" with administrator privileges
else if user_choice is "Unhide" then
	do shell script "chflags nohidden /Library/Preferences/*.plist.lockfile" with administrator privileges
	do shell script "chflags nohidden ~/Library/Preferences/*.plist.lockfile" with administrator privileges
end if
[kirkmc adds: Works as advertised. You could also just run these commands from Terminal. Look for the chflags commands in the script; there are two to hide and two to unhide, one each for /Library/Preferences and ~/Library/Preferences. I see no need to do this permanently, but it's good to know that I can if I want to, say, clean out my Preferences folder.]
  Post a comment  •  Comments (8)  
  • Currently 2.83 / 5
  You rated: 4 / 5 (6 votes cast)
[8,345 views]  View Printable Version
Permanently Unhide Library System 10.7
When Apple shipped Mac OS X Lion 10.7, the “Library” folder located within every user’s home folder, which had previously been visible to users in the Finder, was made invisible. This hint shows how to make the folder visible and keep it that way forever.

As you may know, and as mentioned in this hint, the Library folder can be made visible again by running the following command in Terminal:

/usr/bin/chflags nohidden ~/Library

Apple keeps making the folder invisible again with every System update, so it gets tedious re-running the above script. You can automate this by adding a Login Item with an AppleScript "script application" containing the following code:

do shell script "/usr/bin/chflags nohidden ~/Library"

Read detailed instructions for this hint, and download a ready-made script application file on the Red Sweater Blog.

[kirkmc adds: There are any number of ways to unhide the ~/Library folder. Macworld has an article with 18 different methods, plus a few more in the comments to that article. This hint also tells you how you can create an alias in your .profile file to easily run this command. ]
  Post a comment  •  Comments (10)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (8 votes cast)
[31,451 views]  View Printable Version
Open certain preference panes with quick shortcut System 10.7
If you press the Option key, then press certain dedicated keys on the standard Apple keyboard, preference panes will open. This works for Mission Control (Option-F3 or Option-F4), Displays (Option-F1 or Option-F2), and Sound (Option-F10, Option-F11 or Option-F12). The F keys in question are those which act on the given features, either displaying Dashboard or Mission Control (F3 and F4), decreasing or increasing brightness (F1 and F2), or changing or muting volume (F10, F11 and F12). If you use a laptop, you may need to press the Fn key together with the other keys to open these preference panes.
  Post a comment  •  Comments (3)  
  • Currently 3.67 / 5
  You rated: 2 / 5 (6 votes cast)
[4,594 views]  View Printable Version
Scroll PDF in Finder in Column View System 10.7
In the Finder, when working in Column View, if you select a multipage PDF you can scroll up and down in the document. This is much faster than using the small arrow controls, and appears to work with any input device that can scroll.

[kirkmc adds: Several points. First, in Column View, you need to have Show Preview Column checked in the View settings. When you select a PDF, its first page shows in the Preview column. From there, you hover your cursor and see two arrow buttons. You can either click on these or scroll.

This might be useful if you just need a quick glance at a file, but once you've selected the PDF, you can view it in Quick Look by pressing the space bar, which lets you see the document at full size.]
  Post a comment  •  Comments (6)  
  • Currently 3.00 / 5
  You rated: 2 / 5 (7 votes cast)
[4,757 views]  View Printable Version
Moving custom paper sizes from Snow Leopard to Lion System 10.7

I was recently asked to see if I could copy over the custom page sizes from a Snow Leopard machine over to a Lion machine.

While finding the right file in ~/Library/Preferences ( wasn't so difficult, it turned out that the Snow Leopard version of the file is binary encoded while the Lion version is not. (It may be that this file was grandfathered in from a previous system.)

XCode for Lion can convert the file to a regular XML text file:

  1. Open the file in Xcode.
  2. Choose File > Duplicate.
  3. In the Save dialog box, select "Property List XML" from the Format drop-down list.

Moving the regular text version over to Lion and putting it into the Preferences folder gave us a way to copy a huge list of custom paper sizes from one designer to another quickly and easily.

  Post a comment  •  Comments (5)  
  • Currently 4.25 / 5
  You rated: 4 / 5 (4 votes cast)
[5,919 views]  View Printable Version
10.7: Get the Lion installer to work behind a proxy server System 10.7
When re-installing Lion from the Recovery Partition, the installer needs to check installation eligibility with Apple's servers. If your computer needs to access the Internet through a proxy server for whatever reason, the installer won't pick up on this; it will attempt to make a direct connection, fail, and tell you to contact AppleCare. You can use the networksetup command in Terminal to get around this.

First, access Terminal from within the Installer's Utilities menu.

The networksetup command can configure a vast array of network options, a full list of which you can see by typing networksetup --help. The two options we're concerned with for this purpose are -setwebproxy and -setsecurewebproxy. You need to enter a service name with each command: in most cases this will be Ethernet for wired connections, and Wi-Fi for wireless ones.

So putting this all together, to tell the Installer to connect using the proxy server via Wi-Fi on port 8080, we would type:

networksetup -setwebproxy Wi-Fi 8080
networksetup -setsecurewebproxy Wi-Fi 8080

Substitute your own values, of course. Quit Terminal, go through the Installer steps again and you should be good to go.

[kirkmc adds: I haven't tested this.]
  Post a comment  •  Comments (2)  
  • Currently 3.40 / 5
  You rated: 2 / 5 (5 votes cast)
[14,207 views]  View Printable Version
10.7: Copy files from the Spotlight menu System 10.7
I noticed the other day that if you do a Spotlight search, then select an item by moving the up- or down-arrow keys, you can then copy that item and paste it into the Finder. This works not only for files and folders, but also for contacts (it pastes a vcard), e-mail messages (it pastes an .emlx file), though it doesn't work for web pages in your History or for chats. Since you can drag files from the Spotlight menu (see this Macworld article), it makes sense that you can also copy them.

I assume that this is 10.7 only, and have not tested on 10.6. Can anyone confirm?
  Post a comment  •  Comments (7)  
  • Currently 2.50 / 5
  You rated: 2 / 5 (6 votes cast)
[5,368 views]  View Printable Version
10.7: Zoom windows in Mission Control System 10.7
Mission control is a great tool but with many programs and windows open, it can be difficult to identify what is in specific windows. Just as you do in the Finder to activate Quick Look, press the space bar when hovering your cursor over a window to zoom the window without making it active and quitting Mission Control. This is very useful if you're constantly working with a lot of small windows, or a lot of windows with text that all look the same in Mission Control.

[kirkmc adds: We ran this as part of a Mission Control tips hint last year. But that hint is actually incorrect; this does not "Quick Look [a window's] content," but rather zooms it. Quick Look is a very specific display which allows you to scroll through multi-page documents, view videos and more. If you use this to zoom in Mission Control, you cannot scroll; for example, if I zoom the BBEdit window in which I'm editing this hint, I can't then scroll up or down in the window, as I could if I Quick Looked the text file in the Finder.]
  Post a comment  •  Comments (4)  
  • Currently 4.17 / 5
  You rated: 4 / 5 (6 votes cast)
[4,988 views]  View Printable Version