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

Use any search engine with Safari Apps
Safari lets you choose from three search engines: Google, Yahoo! and Bing. You may want to use a different search engine, and Matt Swain's AnySearch Safari plugin lets you do that. It can also turn off Safari's 6's "omnibar" so it doesn't search, and only functions as an address bar.

As a bonus, his KeySearch extension can expand the use of the omnibar to let you search on many sites, such as Wikipedia, Amazon, IMDb, and any site you wish to search, just by using keywords. For example, you can type "wiki Marcel Proust" to search for the Wikipedia page of that author.
  Post a comment  •  Comments (1)  
  • Currently 4.00 / 5
  You rated: 2 / 5 (8 votes cast)
 
[8,263 views] Email Article To a Friend View Printable Version
Another way to find iCloud documents Apps
In response to the previous hint about accessing iCloud documents from the hidden Library folder in the Finder, it turns out there is an easier way.

Just go to All My Files and the files will show up in their respective categories (or organized another way if you prefer). The path bar for these files lists their location as simply "iCloud." If you don't have All My Files visible in the Finder sidebar, you can add it by going to the Finder's preferences and checking it.

[kirkmc adds: This is interesting, but it's too bad there's no "iCloud" category to find them more easily; they're mixed in with all your other documents. Of course, the whole point of iCloud is that you don't worry about where the documents are…]
  Post a comment  •  Comments (0)  
  • Currently 3.25 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[6,146 views] Email Article To a Friend View Printable Version
See recent searches in Safari 6 Apps
Well I, and many others, thought that this was missing, since there's no longer an arrow to click on in the search field, make that the "omnibar." But it turns out that there's an easy way to get to your search history. Just click in the omnibar, or press Command-L, and press the spacebar. The Recent Searches menu will display, along with the options to change search engines.

Thanks to marmalito who posted a comment to this Macworld hint post.
  Post a comment  •  Comments (3)  
  • Currently 5.00 / 5
  You rated: 5 / 5 (3 votes cast)
 
[3,840 views] Email Article To a Friend View Printable Version
Navigate and manipulate Calendar events with arrow keys Apps
Arrow keys now allow you to move through events in Calendar. If you select one event, you can move around through all your events by using the arrow keys. Note that you can't highlight an all-day event using the arrow keys except in Month view.

Another behavior that might be new: if you hold down the Control key, a left or right arrow key will move a highlighted event right or left across days and the up/down keys will move the event in 15-minute increments when you are in Day or Week view, or move it up or down the calendar in Month view.

[kirkmc adds: Is this new in 10.8? I don't use iCal; um, Calendar.]
  Post a comment  •  Comments (1)  
  • Currently 3.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[1,830 views] Email Article To a Friend View Printable Version
AppleScript to get Google search URL Apps
In Safari 6, with the new combined URL and search field, if you type search terms into the field, then press return, you'll get a Google page with the results, but you won't get a search URL in the address field. Some people want to save searches at times. Macworld's Dan Frakes tweeted an AppleScript which does just that and Many Tricks developer Peter Maurer improved on it. Run the script and it will get the URL for the frontmost tab then send it to the clipboard, from which you can paste it where you want.
tell application "Safari"
	set the clipboard to URL of current tab of window 1 as string
end tell
As Dan Frakes later pointed out on Twitter, you can also drag the favicon to a finder window. You can double-click the resulting file to redo the search, or you can press the Spacebar to Quick Look it and see a live search with clickable links. For a search, the favicon is the magnifying glass icon at the left of the search field.

So, how many other ways can you find to save a Google search URL?

Update: Jordan Kay posted an even shorter version on Twitter:
 tell application "Safari" to set the clipboard to URL of current tab of window 1 as string
  Post a comment  •  Comments (2)  
  • Currently 2.63 / 5
  You rated: 1 / 5 (8 votes cast)
 
[2,676 views] Email Article To a Friend View Printable Version
Cycle through conversations in Messages Apps
If you have multiple conversations visible in Messages, you can cycle through them using a keyboard shortcut: press Control-Tab to cycle down, and Shift-Control-Tab to cycle up.

There seem to be some inconsistencies. When testing this, if I had my cursor in the text field, sometimes the keyboard shortcut wouldn't work and would instead highlight the name in the To section above the conversation.
  Post a comment  •  Comments (6)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[2,987 views] Email Article To a Friend View Printable Version
Drag e-mails to create reminders Apps
After installing Mountain Lion, I was looking for an easy way to convert the e-mails I receive into reminders to act on later. After trying in vain in Mail (right clicks, menus, etc.) I found the solution is simple. Just drag an e-mail from Mail to Reminders and a new Reminder is automatically created with the subject of the e-mail as title and a link to the e-mail in the notes.

[kirkmc adds: To be honest, I expected there to be a clearer way to do this: a toolbar button in Mail, or a contextual menu item. I think a lot of people - like me - use their inbox as a to-do list. Being able to add them to the Reminders app can be very useful.]
  Post a comment  •  Comments (9)  
  • Currently 5.00 / 5
  You rated: 5 / 5 (5 votes cast)
 
[11,740 views] Email Article To a Friend View Printable Version
TextExpander shell script snippet to set Safari 6 default fonts Apps
Apple removed the default font settings preferences in Safari 6, but one can easily change them with a set of Terminal commands. More fun, though, is using TextExpander's Shell Script Snippet feature to do it. Slight advantage: once the snippet is in your collection, you can edit the snippet to change the fonts at any time without having to dig up the commands from your memory. Note that you have to quit and restart Safari for the changes to take effect.

Save the following text as a shell script:
#!/bin/bash
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2StandardFontFamily 'Lucida Grande'
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFontSize 14
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily Consolas
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize 11
Update: The submitter, Michael Cohen, wrote me saying that his brother Norman Cohen improved on the above script. I'll leave the original there, but below is a newer version, where the script quits and restarts Safari, and using TextExpander's fill-ins, lets you specify the fonts and sizes on the fly:
#!/bin/bash
if [[ $(ps -ax | grep -i safari | grep -v grep | wc -l) -ge 1 ]] ; then osascript -e "tell application \"Safari\" to quit";  fi
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2StandardFontFamily '%filltext:name=font-face:default=Lucida Grande%'
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFontSize %filltext:name=default-font-size:default=14%
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily '%filltext:name=fixed-font-face:default=Consolas%'
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize %filltext:name=fixed-font-size:default=11%
osascript -e "tell application \"Safari\" to activate"
[kirkmc adds: As mentioned above, you can run each line individually, or change them as you wish to your preferred font and size.]
  Post a comment  •  Comments (3)  
  • Currently 4.00 / 5
  You rated: 3 / 5 (7 votes cast)
 
[8,994 views] Email Article To a Friend View Printable Version
New Poll: What grade would you give Mountain Lion? Apps
So Mountain Lion has been out for a week, and a lot of people who read this site have developer accounts and have been using it for longer than that. What do you think of it? The best version of OS X ever? Needs more work? A total failure?

For this poll, you get to play teacher and give Mountain Lion a grade. Pass or fail? Vote here.
  Post a comment  •  Comments (7)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[2,966 views] Email Article To a Friend View Printable Version
Use launchd to schedule repeating tasks Apps
OS X uses a framework called launchd for "starting, stopping and managing daemons, applications, processes, and scripts." (Quote from Wikipedia.) You can use launchd to schedule any task you want to run at specific times or intervals.

Nathan Grigg has posted a simple, clear tutorial, Schedule jobs using launchd which gives an introduction into how this process works, and how you can use it to schedule repeated tasks on your Mac. You'll have to edit plist files, and you may want to install some third-party tools, but this can be useful if you want to set up your own tasks. You could use cron, but, as Grigg says, "Unlike cron, launchd does not assume that your computer is always running. So if your computer happens to be sleeping at the time a job is scheduled, it will run the job when it wakes up."

Another place to look is this tutorial no the Doug's AppleScripts for iTunes web site. Doug presents launchd as a way of running his Update Expired Podcasts script at regular intervals.
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (7 votes cast)
 
[36,828 views] Email Article To a Friend View Printable Version