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

Drag events from Outlook to iCal System 10.7
If you have an event in Outlook's calendar, you can drag this event onto iCal's window, and it will be duplicated in iCal. You can also drag the event onto the iCal icon in the Dock, and you'll get a dialog asking which calendar you want to use, if you have more than one, and it will be added to that calendar.

[kirkmc adds: Works as described. The hint submitted was about dragging onto the window, but when I tried dragging onto the Dock icon, I saw that it worked too. I use BusyCal, and this works when dragging onto the program's Dock icon, but not when dragging onto the calendar window. If you use other calendar programs, it might be nice to try dragging and dropping between them to see what works, and post your results in the comments. Also, I've only tested with with 10.7.]
  Post a comment  •  Comments (3)  
  • Currently 4.00 / 5
  You rated: 3 / 5 (6 votes cast)
[4,460 views]  View Printable Version
10.7: Remove the Dock's display delay System 10.7
While reverse engineering the Dock for HyperDock, I stumbled over this useful hidden setting that removes the display delay when the Dock is hidden.

To remove the delay, open Terminal, type or copy and paste the following line and hit return:
defaults write autohide-delay -float 0 && killall Dock
To restore the default behavior, enter:
defaults delete autohide-delay && killall Dock
[kirkmc adds: This is a nice hint. It has always annoyed me that, when moving the mouse to the side of my screen (I keep the Dock on the left side), there is that half-second delay before it displays. I've applied this setting and will use this permanently. It's not that a half-second is a long time, but my brain expects the Dock to appear more quickly, and it is always stymied by the wait.]
  Post a comment  •  Comments (22)  
  • Currently 4.65 / 5
  You rated: 2 / 5 (17 votes cast)
[24,849 views]  View Printable Version
Restore Lion Server from Time Machine backup System 10.7
Apple has published a technical note explaining how to restore Lion Server from a Time Machine backup. This process involves booting from a Recovery partition, and using a couple of Terminal commands.

Apple points out that:

"Lion Server also includes a process called ServerBackup which works with Time Machine. ServerBackup performs daily backups of Open Directory (if it is enabled) and the Postgres databases used by the Address Book, iCal, Podcast, Profile Manager, and Wiki services. These daily backups are included in the Time Machine backup of Lion Server. ServerBackup also takes part in the restoration of server services, running during the first startup after a server has been restored, and restoring server services and databases into place after the server has started up."

This is good to know if you're running Lion Server and use Time Machine. Personally, I would feel safer having a clone of my drive; if running a server, I'd update the clone every hour, and this is much easier to recover, as you can boot from the clone.
  Post a comment  •  Comments (5)  
  • Currently 4.25 / 5
  You rated: 5 / 5 (4 votes cast)
[8,729 views]  View Printable Version
Update/Create Lion RecoveryHD partition quickly Without Reinstalling System 10.7
Apple released the Lion Recovery Update in October, 2011, and, after they updated the Lion recovery partition to 10.7.2, there was a great hint from Clay Caviness who dug into the update and highlighted the the relevant files and commands that it used to accomplish this update.

Recently, 10.7.3 came out, however, and the RecoveryHD partition is not updated if you use Software Update; it will stay at 10.7.2. This is probably not a big deal, as Apple didn't deem it necessary to update, but for some users, this may not be good enough.

Note: Running the full 10.7.3 installer from the App Store will update the partition; this is fine for your home computer but not practical for large deployments.

Script Workflow:
  • Asks for locations of Recovery Update, Install OS X, and destination
  • Expands and collects the dmtest tool from the Lion Recovery Update
  • Collects the hidden Basesystem chunklist and dmg found in the InstallESD.dmg inside "Install Mac OS X"
  • Puts it all neatly into a self-contained disk image along with the script RecoveryHD Updater.command which can be used to easily create or update the RecoveryHD partition, even on the disk you are currently booted from; don't worry dmtest takes care of all the logic to create or update.

  • Requirements:
  • Download the latest version of Install OS X Option-click the Purchases tab in the App Store and you will be able to "Install" (download) the latest version available
  • Download Lion Recovery Update from Apple

  • read more (667 words)   Post a comment  •  Comments (12)  
    • Currently 4.17 / 5
      You rated: 5 / 5 (6 votes cast)
    [28,313 views]  View Printable Version
    Activate the Don't Save button in Lion from the keyboard using AppleScript System 10.7
    I miss the ability to press Command-D key to trigger the Don't Save button when closing documents. So, I wrote the following short Applescript to regain that functionality.

    Paste the following script into AppleScript Editor and save it somewhere. Then use QuickSilver, Fastscripts or some other keyboard shortcut utility to trigger this Applescript. I set Control-Option-Command-D to be my shortcut. I can now trigger Don't Save with a keyboard shortcut.
    tell application "System Events"
      set frontApp to name of the first process whose frontmost is true
      set focused of (button 3 of sheet 1 of front window of process frontApp) to 1
      tell application "System Events" to keystroke space
    end tell
    [kirkmc adds: A previous hint offered a different AppleScript, and the comments include a Terminal command to turn this functionality back on, if you prefer.]
      Post a comment  •  Comments (17)  
    • Currently 4.13 / 5
      You rated: 5 / 5 (8 votes cast)
    [6,282 views]  View Printable Version
    Master list of OS X keyboard shortcuts System 10.7
    This is less of a hint than a suggestion for a bookmark in your favorite web browser. Apple has a page listing dozens of standard keyboard shortcuts you can use at start-up, with the Finder, and with many applications. If you're a keyboard person, rather than a mouse person, you may find some shortcuts here that you didn't know. At a minimum, it's worth bookmarking this page to have a list of keys to press at startup, if you need to change boot disks, boot in Safe mode or boot from an optical disc (if your Mac still supports that).
      Post a comment  •  Comments (9)  
    • Currently 4.00 / 5
      You rated: 4 / 5 (5 votes cast)
    [12,198 views]  View Printable Version
    Lion Mail search for messages from a specific domain System 10.7
    In previous versions of OS X, you used to be able to quickly search for messages from a given domain just by typing it in on the search field. On Lion, this is a pain, because Mail tries to guess the actual sender a never lets you look at all the messages.

    As a workaround, if you type "from:@domain" you will see messages from all email addresses from that domain. You can also use "to:@domain" to look for the messages that were sent to an email address at a given domain.
      Post a comment  •  Comments (1)  
    • Currently 3.56 / 5
      You rated: 5 / 5 (9 votes cast)
    [4,677 views]  View Printable Version
    10.7: Keep Silver Aerogel blur effect in Terminal at all times System 10.7
    When using the 'Silver Aerogel' theme with Terminal, it blurs text underneath the window, but only if Terminal is the active application. I find the inconsistency a little jarring. Fortunately, this can be changed.

    In Terminal, perform the following commands:
    echo -e "defaults write '" >| output.$$
    defaults read | sed -e 's/(BackgroundBlurInactive.*)0/11/' >> output.$$
    echo ' >> output.$$
    eval $(cat output.$$)
    rm output.$$
    NOTE: you may need to change this a little if you're not using bash. Presumably you know what to put if you've changed your shell. If you don't what that means, then you're using bash.

    Quit Terminal. Now, when you relaunch it, your Aerogel windows will maintain the blur effect even if they're not the active window.

    [kirkmc adds: I didn't go to the trouble of testing this, because blurred text gives me a headache. But that theme does, indeed, blur text by default. If anyone wants to confirm that this works...]
      Post a comment  •  Comments (8)  
    • Currently 2.50 / 5
      You rated: 3 / 5 (10 votes cast)
    [4,572 views]  View Printable Version
    Quickly expand and shrink Save dialogs System 10.7
    In recent versions of Mac OS X, the standard Save dialog box was replaced with a more compact sheet giving only a text field for providing a file name, a popup menu to choose a save location, and sometimes are some specific options such as text-encoding or file-type, along with the Save and Cancel buttons.

    There's a disclosure triangle to expand the Save panel into the full size one, giving access to the whole file system.

    But you can toggle between the compact and full-size versions by pressing Command-= (equals).

    [kirkmc adds: Nice catch. I was sure this would have been on the site, but can't find anything. It's worth noting that applications remember the state of the dialog box, so if you expand it once, they will always display the large dialog.]
      Post a comment  •  Comments (7)  
    • Currently 4.55 / 5
      You rated: 5 / 5 (11 votes cast)
    [6,725 views]  View Printable Version
    10.7: Drag windows between desktops System 10.7
    In Lion, you can drag windows between desktops without going in to Mission Control.

    Create a few new desktops in Mission Control if you don't already have them. (Launch Mission Control, then move your cursor to the top-right corner of the screen and click in the big +.)

    Go to a desktop where there is an open application window.

    Drag that window to the edge of the screen, and the screen will slide to the next desktop. You can keep dragging it through your desktops if you keep it against the edge; it will shift one desktop per second.

    When you've reached the desktop where you want to put that window, release it and position it as you want. Note that this won't cycle through to the beginning or end of your desktops. In other words, if you have three desktops, and move a window to the right-most desktop, you can't bring it back to the first one by moving it to the right again.

    [kirkmc adds: I had never noticed this, because I invoke Mission Control using a hot corner, and move windows like that. This is similar to the way you move app icons on iOS devices]
      Post a comment  •  Comments (8)  
    • Currently 3.78 / 5
      You rated: 5 / 5 (9 votes cast)
    [41,445 views]  View Printable Version