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

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 4.25 / 5
  You rated: 2 / 5 (4 votes cast)
[4,318 views]  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.50 / 5
  You rated: 3 / 5 (6 votes cast)
[2,049 views]  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: 3 / 5 (8 votes cast)
[3,234 views]  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
  You rated: 1 / 5 (5 votes cast)
[3,999 views]  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 4.14 / 5
  You rated: 2 / 5 (7 votes cast)
[14,131 views]  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:
defaults write 'Lucida Grande'
defaults write 14
defaults write Consolas
defaults write 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:
if [[ $(ps -ax | grep -i safari | grep -v grep | wc -l) -ge 1 ]] ; then osascript -e "tell application \"Safari\" to quit";  fi
defaults write '%filltext:name=font-face:default=Lucida Grande%'
defaults write %filltext:name=default-font-size:default=14%
defaults write '%filltext:name=fixed-font-face:default=Consolas%'
defaults write %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: 4 / 5 (7 votes cast)
[10,087 views]  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
  You rated: 3 / 5 (5 votes cast)
[3,113 views]  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: 1 / 5 (7 votes cast)
[43,405 views]  View Printable Version
Find if an application is from the Mac App Store Apps
I was rooting around my system today, and wondering if there's any way to find out if an application is from the Mac App Store. The Info window - when you select an item and press Command-I - doesn't say anything, but the System Information application does. There is an "App Store" column which says yes or no for each application.

I figured there had to be another way, and eventually found that the mdls command gives some of this information. Running mdls <app name> returns a lot of information, but near the top of the list are a few lines like this:
$ mdls /Applications/ 
kMDItemAlternateNames             = (
kMDItemAppStoreAdamID             = "438671026"
kMDItemAppStoreCategory           = "Music"
kMDItemAppStoreCategoryType       = ""
kMDItemAppStoreHasReceipt         = 1
kMDItemAppStoreInstallerVersionID = "8330689"
kMDItemAppStoreIsAppleSigned      = 1
kMDItemAppStorePurchaseDate       = 2012-06-13 07:14:43 +0000
kMDItemAppStoreReceiptType        = "ProductionReceipt"

The kMDItemAppStoreHasReceipt is what says whether or not it is a Mac App Store application, but you can see some other Mac App Store information there, such as the category (non-MAS apps have this too, interestingly), the purchase date, the application's ID, etc.

My interest in this is purely academic, but it could be useful to find all Mac App Store applications on a given Mac; you could use the kMDItemAppStoreHasReceipt key in a search, for example. If you run this in Terminal, you'll get a list of all your Mac App Store applications:

mdfind "kMDItemAppStoreHasReceipt=1"

Note that if you have any volumes excluded from Spotlight searches, their Mac App Store apps won't be listed in the results. (H/t to Thomas for that command.)

If anyone has any other ways of finding this information, feel free to post them in the comments.
  Post a comment  •  Comments (9)  
  • Currently 3.63 / 5
  You rated: 5 / 5 (8 votes cast)
[4,776 views]  View Printable Version
Turn off ads in Parallels Desktop Apps
The latest version of Parallels Desktop apparently has the sleazy feature of displaying ads, even though you've paid for the software. Simone Magnelli tweeted a defaults command that you can use to turn them off:

defaults write com.parallels.Parallels\ Desktop ProductPromo.ForcePromoOff -bool YES

Now I don't use Parallels - I use VMware Fusion - and I'm glad I don't. I haven't tested this, so if someone could confirm that it works, and post in the comments, I'd appreciate it.
  Post a comment  •  Comments (9)  
  • Currently 4.25 / 5
  You rated: 2 / 5 (8 votes cast)
[7,171 views]  View Printable Version